#17187E#17187E
#17187E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.163 H 270.7°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).
Color values
| HEX | #17187E |
|---|---|
| RGB | rgb(23, 24, 126) |
| HSL | hsl(239, 69%, 29%) |
| HSV | hsv(239, 82%, 49%) |
| CMYK | cmyk(81.7%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(17.19, 37.10, -56.38) |
| CIE-LCH | lch(17.19, 67.49, 303.34°) |
| OKLab | oklab(30.2% 0.0021 -0.1633) |
| OKLCH | oklch(30.2% 0.163 270.7) |
| XYZ | xyz(4.4446, 2.3413, 19.9523) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.33
Royal
#0C1793
ΔE00 3.07
Dark Royal Blue
#02066F
ΔE00 4.14
Navy
#000080
ΔE00 4.29
Darkblue
#00008B
ΔE00 4.41
Deep Blue
#040273
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17187E #7E7D17
analogous
#174C7E #17187E #49177E
triadic
#17187E #7E1718 #187E17
tetradic
#17187E #7E174C #7E7D17 #177E49
square
#17187E #7E174C #7E7D17 #177E49
split-complementary
#17187E #7E4917 #4C7E17
monochromatic
#05051A #0E0E4A #17187E #2022B2 #3537DA
Accessibility & contrast
On white
14.30
#17187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#17187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17187E
14.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17187E | 1.00 | 14.30 | 1.47 | 14.30 |
| #FFFFFF | 14.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #17187e; /* rgb */ color: rgb(23, 24, 126); /* oklch */ color: oklch(30.2% 0.163 270.7);
Tailwind
colors: {
custom: {
50: '#6957a5',
500: '#17187e',
950: '#000000',
},
}SCSS
$custom: #17187e; $custom-light: #6957a5; $custom-dark: #000000;
JSON
{
"hex": "#17187e",
"rgb": {
"r": 23,
"g": 24,
"b": 126
},
"hsl": {
"h": 239.417,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.30203,
"c": 0.16327,
"h": 270.7
},
"luminance": 0.02342
}Semantic roles & 50–950 ramp
primary
#17187E
secondary
#B3B23E
accent
#EA3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F