#172E86#172E86
#172E86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.149 H 266.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #172E86 |
|---|---|
| RGB | rgb(23, 46, 134) |
| HSL | hsl(228, 71%, 31%) |
| HSV | hsv(228, 83%, 53%) |
| CMYK | cmyk(82.8%, 65.7%, 0%, 47.5%) |
| CIE-LAB | lab(23.19, 26.00, -51.53) |
| CIE-LCH | lch(23.19, 57.72, 296.77°) |
| OKLab | oklab(34.79% -0.0087 -0.1492) |
| OKLCH | oklch(34.79% 0.149 266.7) |
| XYZ | xyz(5.6319, 3.8567, 22.9972) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.84
Midnight Blue
#191970
ΔE00 6.54
Royal
#0C1793
ΔE00 6.75
Marine
#042E60
ΔE00 7.10
Darkslateblue
#483D8B
ΔE00 7.53
Blueberry
#464196
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E86 #866F17
analogous
#176586 #172E86 #381786
triadic
#172E86 #86172E #2E8617
tetradic
#172E86 #861765 #866F17 #178638
square
#172E86 #861765 #866F17 #178638
split-complementary
#172E86 #863817 #658617
monochromatic
#050A1E #0E1C52 #172E86 #2040BA #3A5CDD
Accessibility & contrast
On white
11.86
#172E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#172E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E86
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E86 | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #172e86; /* rgb */ color: rgb(23, 46, 134); /* oklch */ color: oklch(34.8% 0.149 266.7);
Tailwind
colors: {
custom: {
50: '#6966aa',
500: '#172e86',
950: '#000000',
},
}SCSS
$custom: #172e86; $custom-light: #6966aa; $custom-dark: #000000;
JSON
{
"hex": "#172e86",
"rgb": {
"r": 23,
"g": 46,
"b": 134
},
"hsl": {
"h": 227.568,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.3479,
"c": 0.14943,
"h": 266.7
},
"luminance": 0.03857
}Semantic roles & 50–950 ramp
primary
#172E86
secondary
#BAA03F
accent
#C83AED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F