#172E8F#172E8F
#172E8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.162 H 266.8°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #172E8F |
|---|---|
| RGB | rgb(23, 46, 143) |
| HSL | hsl(229, 72%, 33%) |
| HSV | hsv(229, 84%, 56%) |
| CMYK | cmyk(83.9%, 67.8%, 0%, 43.9%) |
| CIE-LAB | lab(24.06, 29.53, -55.72) |
| CIE-LCH | lch(24.06, 63.06, 297.93°) |
| OKLab | oklab(35.69% -0.009 -0.1614) |
| OKLCH | oklch(35.69% 0.162 266.8) |
| XYZ | xyz(6.2865, 4.1186, 26.4449) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.68
Royal
#0C1793
ΔE00 6.05
Midnight Blue
#191970
ΔE00 6.97
Blueberry
#464196
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 7.47
Cobalt Blue
#030AA7
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E8F #8F7817
analogous
#176A8F #172E8F #3C178F
triadic
#172E8F #8F172E #2E8F17
tetradic
#172E8F #8F176A #8F7817 #178F3C
square
#172E8F #8F176A #8F7817 #178F3C
split-complementary
#172E8F #8F3C17 #6A8F17
monochromatic
#060C26 #0F1D5A #172E8F #1F3FC4 #405FE0
Accessibility & contrast
On white
11.51
#172E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#172E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E8F
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E8F | 1.00 | 11.51 | 1.82 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #172e8f; /* rgb */ color: rgb(23, 46, 143); /* oklch */ color: oklch(35.7% 0.162 266.8);
Tailwind
colors: {
custom: {
50: '#6c66b1',
500: '#172e8f',
950: '#000000',
},
}SCSS
$custom: #172e8f; $custom-light: #6c66b1; $custom-dark: #000000;
JSON
{
"hex": "#172e8f",
"rgb": {
"r": 23,
"g": 46,
"b": 143
},
"hsl": {
"h": 228.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.35693,
"c": 0.16165,
"h": 266.8
},
"luminance": 0.04119
}Semantic roles & 50–950 ramp
primary
#172E8F
secondary
#C1A841
accent
#CC39EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80