Recognised as Colour
#21257B
- #21257B
- Blue
- Dark
- Nearest: Midnight blue
#21257B is a blue with RGB values 33, 37, 123 and HSL 237°, 58%, 31%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#21257B#21257B
HEX#21257B
RGBrgb(33, 37, 123)
RGB (0–1)0.1294, 0.1451, 0.4824
RGB percentages12.9%, 14.5%, 48.2%
HSLhsl(237.3, 57.7%, 30.6%)
HSV / HSBhsv(237.3, 73.2%, 48.2%)
CMYK73.2%, 69.9%, 0%, 51.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,172,283
CSS custom property--colour: #21257B;
Brightness & contrast
Relative luminance0.03077WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13:1
Contrast with white13:1WCAG normal text: AAA
Contrast with black1.62:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#DEDA84
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13:1WCAG large text: AAA
Contrast with black, large text1.62:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7B7721
Analogous#21527B, #4A217B
Triadic#7B2125, #257B21
Split complementary#7B4A21, #527B21
Tetradic#7B2152, #7B7721, #217B4A
Tints, shades & saturation
Channel breakdown
R33
G37
B123
Red33 (12.9%)
Green37 (14.5%)
Blue123 (48.2%)
Hue237.33°
Saturation (HSL)57.69%
Lightness30.59%
Dominant channelBlue
Hex per channelR 21 · G 25 · B 7B
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page