Recognised as Colour
#21165D
- #21165D
- Blue
- Dark
- Nearest: Midnight blue
#21165D is a blue with RGB values 33, 22, 93 and HSL 249°, 62%, 23%. It is a dark colour, so white text on it reaches 15.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#21165D#21165D
HEX#21165D
RGBrgb(33, 22, 93)
RGB (0–1)0.1294, 0.0863, 0.3647
RGB percentages12.9%, 8.6%, 36.5%
HSLhsl(249.3, 61.7%, 22.5%)
HSV / HSBhsv(249.3, 76.3%, 36.5%)
CMYK64.5%, 76.3%, 0%, 63.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,168,413
CSS custom property--colour: #21165D;
Brightness & contrast
Relative luminance0.01687WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.7:1
Contrast with white15.7:1WCAG normal text: AAA
Contrast with black1.34:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#DEE9A2
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.7:1WCAG large text: AAA
Contrast with black, large text1.34:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#525D16
Analogous#162E5D, #45165D
Triadic#5D2116, #165D21
Split complementary#5D4516, #2E5D16
Tetradic#5D162E, #525D16, #165D45
Tints, shades & saturation
Channel breakdown
R33
G22
B93
Red33 (12.9%)
Green22 (8.6%)
Blue93 (36.5%)
Hue249.3°
Saturation (HSL)61.74%
Lightness22.55%
Dominant channelBlue
Hex per channelR 21 · G 16 · B 5D
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