#17408E#17408E
#17408E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.138 H 261.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #17408E |
|---|---|
| RGB | rgb(23, 64, 142) |
| HSL | hsl(219, 72%, 32%) |
| HSV | hsv(219, 84%, 56%) |
| CMYK | cmyk(83.8%, 54.9%, 0%, 44.3%) |
| CIE-LAB | lab(28.91, 16.70, -47.19) |
| CIE-LCH | lch(28.91, 50.05, 289.49°) |
| OKLab | oklab(39.28% -0.02 -0.1361) |
| OKLCH | oklch(39.28% 0.138 261.6) |
| XYZ | xyz(7.0675, 5.8011, 26.3332) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.65
Darkish Blue
#014182
ΔE00 3.09
Cobalt
#0047AB
ΔE00 4.22
Twilight Blue
#0A437A
ΔE00 4.28
Prussian Blue
#004577
ΔE00 5.73
Marine Blue
#01386A
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17408E #8E6517
analogous
#177B8E #17408E #2A178E
triadic
#17408E #8E1740 #408E17
tetradic
#17408E #8E177B #8E6517 #178E2A
square
#17408E #8E177B #8E6517 #178E2A
split-complementary
#17408E #8E2A17 #7B8E17
monochromatic
#061125 #0E2859 #17408E #2058C3 #3F77E0
Accessibility & contrast
On white
9.72
#17408E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#17408E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17408E
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17408E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17408E | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #17408e; /* rgb */ color: rgb(23, 64, 142); /* oklch */ color: oklch(39.3% 0.138 261.6);
Tailwind
colors: {
custom: {
50: '#6a74b0',
500: '#17408e',
950: '#000000',
},
}SCSS
$custom: #17408e; $custom-light: #6a74b0; $custom-dark: #000000;
JSON
{
"hex": "#17408e",
"rgb": {
"r": 23,
"g": 64,
"b": 142
},
"hsl": {
"h": 219.328,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.39284,
"c": 0.13758,
"h": 261.6
},
"luminance": 0.05802
}Semantic roles & 50–950 ramp
primary
#17408E
secondary
#C09440
accent
#B039EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F