Recognised as Colour
#171F79
- #171F79
- Blue
- Dark
- Nearest: Midnight blue
#171F79 is a blue with RGB values 23, 31, 121 and HSL 235°, 68%, 28%. It is a dark colour, so white text on it reaches 13.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#171F79#171F79
HEX#171F79
RGBrgb(23, 31, 121)
RGB (0–1)0.0902, 0.1216, 0.4745
RGB percentages9%, 12.2%, 47.5%
HSLhsl(235.1, 68.1%, 28.2%)
HSV / HSBhsv(235.1, 81%, 47.5%)
CMYK81%, 74.4%, 0%, 52.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,515,385
CSS custom property--colour: #171F79;
Brightness & contrast
Relative luminance0.02543WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.92:1
Contrast with white13.92:1WCAG normal text: AAA
Contrast with black1.51:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#E8E086
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.92:1WCAG large text: AAA
Contrast with black, large text1.51:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#797117
Analogous#175079, #401779
Triadic#79171F, #1F7917
Split complementary#794017, #507917
Tetradic#791750, #797117, #177940
Tints, shades & saturation
Channel breakdown
R23
G31
B121
Red23 (9%)
Green31 (12.2%)
Blue121 (47.5%)
Hue235.1°
Saturation (HSL)68.06%
Lightness28.24%
Dominant channelBlue
Hex per channelR 17 · G 1F · B 79
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