Recognised as Colour
#171F89
- #171F89
- Blue
- Dark
- Nearest: Midnight blue
#171F89 is a blue with RGB values 23, 31, 137 and HSL 236°, 71%, 31%. It is a dark colour, so white text on it reaches 13.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#171F89#171F89
HEX#171F89
RGBrgb(23, 31, 137)
RGB (0–1)0.0902, 0.1216, 0.5373
RGB percentages9%, 12.2%, 53.7%
HSLhsl(235.8, 71.2%, 31.4%)
HSV / HSBhsv(235.8, 83.2%, 53.7%)
CMYK83.2%, 77.4%, 0%, 46.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,515,401
CSS custom property--colour: #171F89;
Brightness & contrast
Relative luminance0.02968WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.18:1
Contrast with white13.18:1WCAG normal text: AAA
Contrast with black1.59:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#E8E076
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.18:1WCAG large text: AAA
Contrast with black, large text1.59:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#898117
Analogous#175889, #481789
Triadic#89171F, #1F8917
Split complementary#894817, #588917
Tetradic#891758, #898117, #178948
Tints, shades & saturation
Channel breakdown
R23
G31
B137
Red23 (9%)
Green31 (12.2%)
Blue137 (53.7%)
Hue235.79°
Saturation (HSL)71.25%
Lightness31.37%
Dominant channelBlue
Hex per channelR 17 · G 1F · B 89
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page