#172E8E#172E8E
#172E8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.160 H 266.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #172E8E |
|---|---|
| RGB | rgb(23, 46, 142) |
| HSL | hsl(228, 72%, 32%) |
| HSV | hsv(228, 84%, 56%) |
| CMYK | cmyk(83.8%, 67.6%, 0%, 44.3%) |
| CIE-LAB | lab(23.96, 29.15, -55.26) |
| CIE-LCH | lch(23.96, 62.47, 297.81°) |
| OKLab | oklab(35.59% -0.009 -0.1601) |
| OKLCH | oklch(35.59% 0.16 266.8) |
| XYZ | xyz(6.2111, 4.0884, 26.0477) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.80
Royal
#0C1793
ΔE00 6.12
Midnight Blue
#191970
ΔE00 6.91
Blueberry
#464196
ΔE00 7.30
Darkslateblue
#483D8B
ΔE00 7.46
Marine
#042E60
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E8E #8E7717
analogous
#176A8E #172E8E #3B178E
triadic
#172E8E #8E172E #2E8E17
tetradic
#172E8E #8E176A #8E7717 #178E3B
square
#172E8E #8E176A #8E7717 #178E3B
split-complementary
#172E8E #8E3B17 #6A8E17
monochromatic
#060C25 #0E1D59 #172E8E #203FC3 #3F5EE0
Accessibility & contrast
On white
11.55
#172E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#172E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E8E
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E8E | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #172e8e; /* rgb */ color: rgb(23, 46, 142); /* oklch */ color: oklch(35.6% 0.160 266.8);
Tailwind
colors: {
custom: {
50: '#6b66b0',
500: '#172e8e',
950: '#000000',
},
}SCSS
$custom: #172e8e; $custom-light: #6b66b0; $custom-dark: #000000;
JSON
{
"hex": "#172e8e",
"rgb": {
"r": 23,
"g": 46,
"b": 142
},
"hsl": {
"h": 228.403,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.35591,
"c": 0.16031,
"h": 266.8
},
"luminance": 0.04089
}Semantic roles & 50–950 ramp
primary
#172E8E
secondary
#C0A840
accent
#CC39EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80