Recognised as Colour
#172B8B
- #172B8B
- Blue
- Dark
- Nearest: Midnight blue
#172B8B is a blue with RGB values 23, 43, 139 and HSL 230°, 72%, 32%. It is a dark colour, so white text on it reaches 12:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#172B8B#172B8B
HEX#172B8B
RGBrgb(23, 43, 139)
RGB (0–1)0.0902, 0.1686, 0.5451
RGB percentages9%, 16.9%, 54.5%
HSLhsl(229.7, 71.6%, 31.8%)
HSV / HSBhsv(229.7, 83.5%, 54.5%)
CMYK83.5%, 69.1%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,518,475
CSS custom property--colour: #172B8B;
Brightness & contrast
Relative luminance0.03774WCAG 2.x, 0 is black and 1 is white
Perceived brightness58.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.97:1
Contrast with white11.97:1WCAG normal text: AAA
Contrast with black1.75:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#E8D474
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.97:1WCAG large text: AAA
Contrast with black, large text1.75:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8B7717
Analogous#17658B, #3D178B
Triadic#8B172B, #2B8B17
Split complementary#8B3D17, #658B17
Tetradic#8B1765, #8B7717, #178B3D
Tints, shades & saturation
Channel breakdown
R23
G43
B139
Red23 (9%)
Green43 (16.9%)
Blue139 (54.5%)
Hue229.66°
Saturation (HSL)71.6%
Lightness31.76%
Dominant channelBlue
Hex per channelR 17 · G 2B · B 8B
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