#17186F#17186F
#17186F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.144 H 272.0°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).
Color values
| HEX | #17186F |
|---|---|
| RGB | rgb(23, 24, 111) |
| HSL | hsl(239, 66%, 26%) |
| HSV | hsv(239, 79%, 44%) |
| CMYK | cmyk(79.3%, 78.4%, 0%, 56.5%) |
| CIE-LAB | lab(15.40, 31.78, -49.69) |
| CIE-LCH | lch(15.40, 58.98, 302.60°) |
| OKLab | oklab(28.42% 0.0051 -0.1438) |
| OKLCH | oklch(28.42% 0.144 272) |
| XYZ | xyz(3.5483, 1.9827, 15.2315) |
| Luminance | 0.0198 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.31
Dark Royal Blue
#02066F
ΔE00 3.92
Darkblue (survey)
#030764
ΔE00 4.00
Deep Blue
#040273
ΔE00 4.65
Dark Blue
#00035B
ΔE00 5.41
Navy
#000080
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17186F #6F6E17
analogous
#17446F #17186F #42176F
triadic
#17186F #6F1718 #186F17
tetradic
#17186F #6F1744 #6F6E17 #176F42
square
#17186F #6F1744 #6F6E17 #176F42
split-complementary
#17186F #6F4217 #446F17
monochromatic
#050519 #0C0D3C #17186F #2223A2 #2D2FD3
Accessibility & contrast
On white
15.04
#17186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#17186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17186F
15.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17186F | 1.00 | 15.04 | 1.40 | 15.04 |
| #FFFFFF | 15.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #17186f; /* rgb */ color: rgb(23, 24, 111); /* oklch */ color: oklch(28.4% 0.144 272.0);
Tailwind
colors: {
custom: {
50: '#655699',
500: '#17186f',
950: '#000000',
},
}SCSS
$custom: #17186f; $custom-light: #655699; $custom-dark: #000000;
JSON
{
"hex": "#17186f",
"rgb": {
"r": 23,
"g": 24,
"b": 111
},
"hsl": {
"h": 239.318,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.28416,
"c": 0.14393,
"h": 272
},
"luminance": 0.01983
}Semantic roles & 50–950 ramp
primary
#17186F
secondary
#A5A43D
accent
#E73FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E