#17408B#17408B
#17408B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.133 H 261.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #17408B |
|---|---|
| RGB | rgb(23, 64, 139) |
| HSL | hsl(219, 72%, 32%) |
| HSV | hsv(219, 83%, 55%) |
| CMYK | cmyk(83.5%, 54%, 0%, 45.5%) |
| CIE-LAB | lab(28.67, 15.47, -45.71) |
| CIE-LCH | lch(28.67, 48.25, 288.69°) |
| OKLab | oklab(39.04% -0.0203 -0.1318) |
| OKLCH | oklch(39.04% 0.133 261.2) |
| XYZ | xyz(6.8453, 5.7122, 25.1629) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.59
Darkish Blue
#014182
ΔE00 2.72
Twilight Blue
#0A437A
ΔE00 3.91
Cobalt
#0047AB
ΔE00 4.55
Marine Blue
#01386A
ΔE00 5.36
Prussian Blue
#004577
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17408B #8B6217
analogous
#177A8B #17408B #28178B
triadic
#17408B #8B1740 #408B17
tetradic
#17408B #8B177A #8B6217 #178B28
square
#17408B #8B177A #8B6217 #178B28
split-complementary
#17408B #8B2817 #7A8B17
monochromatic
#061022 #0E2856 #17408B #2058C0 #3D77DF
Accessibility & contrast
On white
9.80
#17408B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#17408B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17408B
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17408B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17408B | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #17408b; /* rgb */ color: rgb(23, 64, 139); /* oklch */ color: oklch(39.0% 0.133 261.2);
Tailwind
colors: {
custom: {
50: '#6974ad',
500: '#17408b',
950: '#000000',
},
}SCSS
$custom: #17408b; $custom-light: #6974ad; $custom-dark: #000000;
JSON
{
"hex": "#17408b",
"rgb": {
"r": 23,
"g": 64,
"b": 139
},
"hsl": {
"h": 218.793,
"s": 71.605,
"l": 31.765
},
"oklch": {
"l": 0.39036,
"c": 0.13333,
"h": 261.2
},
"luminance": 0.05713
}Semantic roles & 50–950 ramp
primary
#17408B
secondary
#BF923F
accent
#AE39EE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F