Recognised as Colour
#21217D
- #21217D
- Blue
- Dark
- Nearest: Midnight blue
#21217D is a blue with RGB values 33, 33, 125 and HSL 240°, 58%, 31%. It is a dark colour, so white text on it reaches 13.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#21217D#21217D
HEX#21217D
RGBrgb(33, 33, 125)
RGB (0–1)0.1294, 0.1294, 0.4902
RGB percentages12.9%, 12.9%, 49%
HSLhsl(240, 58.2%, 31%)
HSV / HSBhsv(240, 73.6%, 49%)
CMYK73.6%, 73.6%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,171,261
CSS custom property--colour: #21217D;
Brightness & contrast
Relative luminance0.02892WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.31:1
Contrast with white13.31:1WCAG normal text: AAA
Contrast with black1.58:1WCAG normal text: Fail
Greyscale equivalent#282828
Inverted#DEDE82
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.31:1WCAG large text: AAA
Contrast with black, large text1.58:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7D7D21
Analogous#214F7D, #4F217D
Triadic#7D2121, #217D21
Split complementary#7D4F21, #4F7D21
Tetradic#7D214F, #7D7D21, #217D4F
Tints, shades & saturation
Channel breakdown
R33
G33
B125
Red33 (12.9%)
Green33 (12.9%)
Blue125 (49%)
Hue240°
Saturation (HSL)58.23%
Lightness30.98%
Dominant channelBlue
Hex per channelR 21 · G 21 · B 7D
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