#17188E#17188E
#17188E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.183 H 269.6°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #17188E |
|---|---|
| RGB | rgb(23, 24, 142) |
| HSL | hsl(239, 72%, 32%) |
| HSV | hsv(239, 84%, 56%) |
| CMYK | cmyk(83.8%, 83.1%, 0%, 44.3%) |
| CIE-LAB | lab(19.17, 42.50, -63.17) |
| CIE-LCH | lch(19.17, 76.13, 303.93°) |
| OKLab | oklab(32.17% -0.0013 -0.1829) |
| OKLCH | oklch(32.17% 0.183 269.6) |
| XYZ | xyz(5.5608, 2.7878, 25.8310) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.84
Cobalt Blue
#030AA7
ΔE00 3.77
Darkblue
#00008B
ΔE00 3.82
Royal Blue (survey)
#0504AA
ΔE00 4.34
Navy
#000080
ΔE00 4.55
Midnight Blue
#191970
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17188E #8E8D17
analogous
#17538E #17188E #52178E
triadic
#17188E #8E1718 #188E17
tetradic
#17188E #8E1753 #8E8D17 #178E52
square
#17188E #8E1753 #8E8D17 #178E52
split-complementary
#17188E #8E5217 #538E17
monochromatic
#060625 #0E0F59 #17188E #2021C3 #3F41E0
Accessibility & contrast
On white
13.48
#17188E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#17188E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17188E
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17188E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17188E | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #17188e; /* rgb */ color: rgb(23, 24, 142); /* oklch */ color: oklch(32.2% 0.183 269.6);
Tailwind
colors: {
custom: {
50: '#6e58b0',
500: '#17188e',
950: '#000000',
},
}SCSS
$custom: #17188e; $custom-light: #6e58b0; $custom-dark: #000000;
JSON
{
"hex": "#17188e",
"rgb": {
"r": 23,
"g": 24,
"b": 142
},
"hsl": {
"h": 239.496,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.32166,
"c": 0.18291,
"h": 269.6
},
"luminance": 0.02788
}Semantic roles & 50–950 ramp
primary
#17188E
secondary
#C0BF40
accent
#ED39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880