Recognised as Colour
#172F8E
- #172F8E
- Blue
- Dark
- Nearest: Midnight blue
#172F8E is a blue with RGB values 23, 47, 142 and HSL 228°, 72%, 32%. It is a dark colour, so white text on it reaches 11.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#172F8E#172F8E
HEX#172F8E
RGBrgb(23, 47, 142)
RGB (0–1)0.0902, 0.1843, 0.5569
RGB percentages9%, 18.4%, 55.7%
HSLhsl(227.9, 72.1%, 32.4%)
HSV / HSBhsv(227.9, 83.8%, 55.7%)
CMYK83.8%, 66.9%, 0%, 44.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,519,502
CSS custom property--colour: #172F8E;
Brightness & contrast
Relative luminance0.04168WCAG 2.x, 0 is black and 1 is white
Perceived brightness61.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.45:1
Contrast with white11.45:1WCAG normal text: AAA
Contrast with black1.83:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#E8D071
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.45:1WCAG large text: AAA
Contrast with black, large text1.83:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8E7617
Analogous#176B8E, #3A178E
Triadic#8E172F, #2F8E17
Split complementary#8E3A17, #6B8E17
Tetradic#8E176B, #8E7617, #178E3A
Tints, shades & saturation
Channel breakdown
R23
G47
B142
Red23 (9%)
Green47 (18.4%)
Blue142 (55.7%)
Hue227.9°
Saturation (HSL)72.12%
Lightness32.35%
Dominant channelBlue
Hex per channelR 17 · G 2F · B 8E
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