Recognised as Colour
#171F86
- #171F86
- Blue
- Dark
- Nearest: Midnight blue
#171F86 is a blue with RGB values 23, 31, 134 and HSL 236°, 71%, 31%. It is a dark colour, so white text on it reaches 13.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#171F86#171F86
HEX#171F86
RGBrgb(23, 31, 134)
RGB (0–1)0.0902, 0.1216, 0.5255
RGB percentages9%, 12.2%, 52.5%
HSLhsl(235.7, 70.7%, 30.8%)
HSV / HSBhsv(235.7, 82.8%, 52.5%)
CMYK82.8%, 76.9%, 0%, 47.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,515,398
CSS custom property--colour: #171F86;
Brightness & contrast
Relative luminance0.02883WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.32:1
Contrast with white13.32:1WCAG normal text: AAA
Contrast with black1.58:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#E8E079
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.32:1WCAG large text: AAA
Contrast with black, large text1.58:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#867E17
Analogous#175786, #461786
Triadic#86171F, #1F8617
Split complementary#864717, #578617
Tetradic#861757, #867E17, #178646
Tints, shades & saturation
Channel breakdown
R23
G31
B134
Red23 (9%)
Green31 (12.2%)
Blue134 (52.5%)
Hue235.68°
Saturation (HSL)70.7%
Lightness30.78%
Dominant channelBlue
Hex per channelR 17 · G 1F · B 86
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