Recognised as Colour
#171C76
- #171C76
- Blue
- Dark
- Nearest: Midnight blue
#171C76 is a blue with RGB values 23, 28, 118 and HSL 237°, 67%, 28%. It is a dark colour, so white text on it reaches 14.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#171C76#171C76
HEX#171C76
RGBrgb(23, 28, 118)
RGB (0–1)0.0902, 0.1098, 0.4627
RGB percentages9%, 11%, 46.3%
HSLhsl(236.8, 67.4%, 27.6%)
HSV / HSBhsv(236.8, 80.5%, 46.3%)
CMYK80.5%, 76.3%, 0%, 53.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,514,614
CSS custom property--colour: #171C76;
Brightness & contrast
Relative luminance0.02321WCAG 2.x, 0 is black and 1 is white
Perceived brightness47 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.34:1
Contrast with white14.34:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#E8E389
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.34:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#767117
Analogous#174B76, #421776
Triadic#76171C, #1C7617
Split complementary#764217, #4B7617
Tetradic#76174B, #767117, #177642
Tints, shades & saturation
Channel breakdown
R23
G28
B118
Red23 (9%)
Green28 (11%)
Blue118 (46.3%)
Hue236.84°
Saturation (HSL)67.38%
Lightness27.65%
Dominant channelBlue
Hex per channelR 17 · G 1C · B 76
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