#17418E#17418E
#17418E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.136 H 261.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #17418E |
|---|---|
| RGB | rgb(23, 65, 142) |
| HSL | hsl(219, 72%, 32%) |
| HSV | hsv(219, 84%, 56%) |
| CMYK | cmyk(83.8%, 54.2%, 0%, 44.3%) |
| CIE-LAB | lab(29.20, 16.00, -46.71) |
| CIE-LCH | lch(29.20, 49.38, 288.91°) |
| OKLab | oklab(39.51% -0.0207 -0.1347) |
| OKLCH | oklch(39.51% 0.136 261.3) |
| XYZ | xyz(7.1244, 5.9149, 26.3521) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.30
Darkish Blue
#014182
ΔE00 2.88
Twilight Blue
#0A437A
ΔE00 4.05
Cobalt
#0047AB
ΔE00 4.08
Prussian Blue
#004577
ΔE00 5.48
Marine Blue
#01386A
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17418E #8E6417
analogous
#177C8E #17418E #29178E
triadic
#17418E #8E1741 #418E17
tetradic
#17418E #8E177C #8E6417 #178E29
square
#17418E #8E177C #8E6417 #178E29
split-complementary
#17418E #8E2917 #7C8E17
monochromatic
#061125 #0E2959 #17418E #2059C3 #3F78E0
Accessibility & contrast
On white
9.62
#17418E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#17418E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17418E
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17418E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17418E | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#054A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #17418e; /* rgb */ color: rgb(23, 65, 142); /* oklch */ color: oklch(39.5% 0.136 261.3);
Tailwind
colors: {
custom: {
50: '#6a75b0',
500: '#17418e',
950: '#000000',
},
}SCSS
$custom: #17418e; $custom-light: #6a75b0; $custom-dark: #000000;
JSON
{
"hex": "#17418e",
"rgb": {
"r": 23,
"g": 65,
"b": 142
},
"hsl": {
"h": 218.824,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.39506,
"c": 0.13629,
"h": 261.3
},
"luminance": 0.05916
}Semantic roles & 50–950 ramp
primary
#17418E
secondary
#C09340
accent
#AF39EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F