#172FB4#172FB4
#172FB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.8% C 0.208 H 266.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #172FB4 |
|---|---|
| RGB | rgb(23, 47, 180) |
| HSL | hsl(231, 77%, 40%) |
| HSV | hsv(231, 87%, 71%) |
| CMYK | cmyk(87.2%, 73.9%, 0%, 29.4%) |
| CIE-LAB | lab(28.14, 42.64, -71.46) |
| CIE-LCH | lch(28.14, 83.21, 300.83°) |
| OKLab | oklab(39.8% -0.0124 -0.2072) |
| OKLCH | oklch(39.8% 0.208 266.6) |
| XYZ | xyz(9.6052, 5.5093, 43.7283) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.79
Indigo Blue
#3A18B1
ΔE00 5.62
Blue Blue
#2242C7
ΔE00 5.69
True Blue
#010FCC
ΔE00 5.87
Mediumblue
#0000CD
ΔE00 6.90
Ultramarine Blue
#1805DB
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172FB4 #B49C17
analogous
#177EB4 #172FB4 #4E17B4
triadic
#172FB4 #B4172F #2FB417
tetradic
#172FB4 #B4177E #B49C17 #17B44E
square
#172FB4 #B4177E #B49C17 #17B44E
split-complementary
#172FB4 #B44E17 #7EB417
monochromatic
#091347 #10217E #172FB4 #2542E3 #5B71EA
Accessibility & contrast
On white
9.99
#172FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#172FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172FB4
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172FB4 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #172fb4; /* rgb */ color: rgb(23, 47, 180); /* oklch */ color: oklch(39.8% 0.208 266.6);
Tailwind
colors: {
custom: {
50: '#7668cc',
500: '#172fb4',
950: '#000000',
},
}SCSS
$custom: #172fb4; $custom-light: #7668cc; $custom-dark: #000000;
JSON
{
"hex": "#172fb4",
"rgb": {
"r": 23,
"g": 47,
"b": 180
},
"hsl": {
"h": 230.828,
"s": 77.34,
"l": 39.804
},
"oklch": {
"l": 0.39795,
"c": 0.20758,
"h": 266.6
},
"luminance": 0.0551
}Semantic roles & 50–950 ramp
primary
#172FB4
secondary
#CEBC59
accent
#D734F4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82