#17408F#17408F
#17408F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.139 H 261.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #17408F |
|---|---|
| RGB | rgb(23, 64, 143) |
| HSL | hsl(220, 72%, 33%) |
| HSV | hsv(220, 84%, 56%) |
| CMYK | cmyk(83.9%, 55.2%, 0%, 43.9%) |
| CIE-LAB | lab(28.98, 17.11, -47.67) |
| CIE-LCH | lch(28.98, 50.65, 289.74°) |
| OKLab | oklab(39.37% -0.0199 -0.1376) |
| OKLCH | oklch(39.37% 0.139 261.8) |
| XYZ | xyz(7.1429, 5.8313, 26.7304) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.69
Darkish Blue
#014182
ΔE00 3.21
Cobalt
#0047AB
ΔE00 4.11
Twilight Blue
#0A437A
ΔE00 4.40
Prussian Blue
#004577
ΔE00 5.83
Marine Blue
#01386A
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17408F #8F6617
analogous
#177C8F #17408F #2A178F
triadic
#17408F #8F1740 #408F17
tetradic
#17408F #8F177C #8F6617 #178F2A
square
#17408F #8F177C #8F6617 #178F2A
split-complementary
#17408F #8F2A17 #7C8F17
monochromatic
#061126 #0F285A #17408F #1F58C4 #4077E0
Accessibility & contrast
On white
9.69
#17408F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#17408F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17408F
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17408F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17408F | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #17408f; /* rgb */ color: rgb(23, 64, 143); /* oklch */ color: oklch(39.4% 0.139 261.8);
Tailwind
colors: {
custom: {
50: '#6a74b0',
500: '#17408f',
950: '#000000',
},
}SCSS
$custom: #17408f; $custom-light: #6a74b0; $custom-dark: #000000;
JSON
{
"hex": "#17408f",
"rgb": {
"r": 23,
"g": 64,
"b": 143
},
"hsl": {
"h": 219.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.39368,
"c": 0.13899,
"h": 261.8
},
"luminance": 0.05832
}Semantic roles & 50–950 ramp
primary
#17408F
secondary
#C19541
accent
#B139EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80