Recognised as Colour
#172A85
- #172A85
- Blue
- Dark
- Nearest: Midnight blue
#172A85 is a blue with RGB values 23, 42, 133 and HSL 230°, 71%, 31%. It is a dark colour, so white text on it reaches 12.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#172A85#172A85
HEX#172A85
RGBrgb(23, 42, 133)
RGB (0–1)0.0902, 0.1647, 0.5216
RGB percentages9%, 16.5%, 52.2%
HSLhsl(229.6, 70.5%, 30.6%)
HSV / HSBhsv(229.6, 82.7%, 52.2%)
CMYK82.7%, 68.4%, 0%, 47.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,518,213
CSS custom property--colour: #172A85;
Brightness & contrast
Relative luminance0.03532WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.31:1
Contrast with white12.31:1WCAG normal text: AAA
Contrast with black1.71:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#E8D57A
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.31:1WCAG large text: AAA
Contrast with black, large text1.71:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#857217
Analogous#176185, #3B1785
Triadic#85172A, #2A8517
Split complementary#853B17, #618517
Tetradic#851761, #857217, #17853B
Tints, shades & saturation
Channel breakdown
R23
G42
B133
Red23 (9%)
Green42 (16.5%)
Blue133 (52.2%)
Hue229.64°
Saturation (HSL)70.51%
Lightness30.59%
Dominant channelBlue
Hex per channelR 17 · G 2A · B 85
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