Recognised as Colour
#172B82
- #172B82
- Blue
- Dark
- Nearest: Midnight blue
#172B82 is a blue with RGB values 23, 43, 130 and HSL 229°, 70%, 30%. 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
#172B82#172B82
HEX#172B82
RGBrgb(23, 43, 130)
RGB (0–1)0.0902, 0.1686, 0.5098
RGB percentages9%, 16.9%, 51%
HSLhsl(228.8, 69.9%, 30%)
HSV / HSBhsv(228.8, 82.3%, 51%)
CMYK82.3%, 66.9%, 0%, 49%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,518,466
CSS custom property--colour: #172B82;
Brightness & contrast
Relative luminance0.03522WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.32:1
Contrast with white12.32:1WCAG normal text: AAA
Contrast with black1.7:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#E8D47D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.32:1WCAG large text: AAA
Contrast with black, large text1.7:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#826E17
Analogous#176082, #391782
Triadic#82172B, #2B8217
Split complementary#823917, #618217
Tetradic#821760, #826E17, #178239
Tints, shades & saturation
Channel breakdown
R23
G43
B130
Red23 (9%)
Green43 (16.9%)
Blue130 (51%)
Hue228.79°
Saturation (HSL)69.93%
Lightness30%
Dominant channelBlue
Hex per channelR 17 · G 2B · B 82
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