Recognised as Colour
#21166A
- #21166A
- Blue
- Dark
- Nearest: Midnight blue
#21166A is a blue with RGB values 33, 22, 106 and HSL 248°, 66%, 25%. It is a dark colour, so white text on it reaches 15.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#21166A#21166A
HEX#21166A
RGBrgb(33, 22, 106)
RGB (0–1)0.1294, 0.0863, 0.4157
RGB percentages12.9%, 8.6%, 41.6%
HSLhsl(247.9, 65.6%, 25.1%)
HSV / HSBhsv(247.9, 79.2%, 41.6%)
CMYK68.9%, 79.2%, 0%, 58.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,168,426
CSS custom property--colour: #21166A;
Brightness & contrast
Relative luminance0.01938WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.13:1
Contrast with white15.13:1WCAG normal text: AAA
Contrast with black1.39:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#DEE995
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.13:1WCAG large text: AAA
Contrast with black, large text1.39:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5F6A16
Analogous#16356A, #4B166A
Triadic#6A2116, #166A21
Split complementary#6A4B16, #356A16
Tetradic#6A1635, #5F6A16, #166A4B
Tints, shades & saturation
Channel breakdown
R33
G22
B106
Red33 (12.9%)
Green22 (8.6%)
Blue106 (41.6%)
Hue247.86°
Saturation (HSL)65.63%
Lightness25.1%
Dominant channelBlue
Hex per channelR 21 · G 16 · B 6A
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