Recognised as Colour
#171F7C
- #171F7C
- Blue
- Dark
- Nearest: Midnight blue
#171F7C is a blue with RGB values 23, 31, 124 and HSL 235°, 69%, 29%. It is a dark colour, so white text on it reaches 13.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#171F7C#171F7C
HEX#171F7C
RGBrgb(23, 31, 124)
RGB (0–1)0.0902, 0.1216, 0.4863
RGB percentages9%, 12.2%, 48.6%
HSLhsl(235.2, 68.7%, 28.8%)
HSV / HSBhsv(235.2, 81.5%, 48.6%)
CMYK81.5%, 75%, 0%, 51.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,515,388
CSS custom property--colour: #171F7C;
Brightness & contrast
Relative luminance0.02617WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.78:1
Contrast with white13.78:1WCAG normal text: AAA
Contrast with black1.52:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#E8E083
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.78:1WCAG large text: AAA
Contrast with black, large text1.52:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7C7417
Analogous#17527C, #41177C
Triadic#7C171F, #1F7C17
Split complementary#7C4117, #527C17
Tetradic#7C1752, #7C7417, #177C41
Tints, shades & saturation
Channel breakdown
R23
G31
B124
Red23 (9%)
Green31 (12.2%)
Blue124 (48.6%)
Hue235.25°
Saturation (HSL)68.71%
Lightness28.82%
Dominant channelBlue
Hex per channelR 17 · G 1F · B 7C
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