Recognised as Colour
#171F5F
- #171F5F
- Blue
- Dark
- Nearest: Midnight blue
#171F5F is a blue with RGB values 23, 31, 95 and HSL 233°, 61%, 23%. It is a dark colour, so white text on it reaches 15:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#171F5F#171F5F
HEX#171F5F
RGBrgb(23, 31, 95)
RGB (0–1)0.0902, 0.1216, 0.3725
RGB percentages9%, 12.2%, 37.3%
HSLhsl(233.3, 61%, 23.1%)
HSV / HSBhsv(233.3, 75.8%, 37.3%)
CMYK75.8%, 67.4%, 0%, 62.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,515,359
CSS custom property--colour: #171F5F;
Brightness & contrast
Relative luminance0.01988WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.02:1
Contrast with white15.02:1WCAG normal text: AAA
Contrast with black1.4:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#E8E0A0
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.02:1WCAG large text: AAA
Contrast with black, large text1.4:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5F5717
Analogous#17435F, #33175F
Triadic#5F171F, #1F5F17
Split complementary#5F3317, #435F17
Tetradic#5F1743, #5F5717, #175F33
Tints, shades & saturation
Channel breakdown
R23
G31
B95
Red23 (9%)
Green31 (12.2%)
Blue95 (37.3%)
Hue233.33°
Saturation (HSL)61.02%
Lightness23.14%
Dominant channelBlue
Hex per channelR 17 · G 1F · B 5F
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