#17186E#17186E
#17186E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.143 H 272.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).
Color values
| HEX | #17186E |
|---|---|
| RGB | rgb(23, 24, 110) |
| HSL | hsl(239, 65%, 26%) |
| HSV | hsv(239, 79%, 43%) |
| CMYK | cmyk(79.1%, 78.2%, 0%, 56.9%) |
| CIE-LAB | lab(15.28, 31.41, -49.23) |
| CIE-LCH | lch(15.28, 58.40, 302.54°) |
| OKLab | oklab(28.3% 0.0053 -0.1425) |
| OKLCH | oklch(28.3% 0.143 272.1) |
| XYZ | xyz(3.4935, 1.9608, 14.9432) |
| Luminance | 0.0196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.40
Dark Royal Blue
#02066F
ΔE00 3.97
Darkblue (survey)
#030764
ΔE00 3.97
Deep Blue
#040273
ΔE00 4.72
Dark Blue
#00035B
ΔE00 5.35
Navy
#000080
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17186E #6E6D17
analogous
#17436E #17186E #41176E
triadic
#17186E #6E1718 #186E17
tetradic
#17186E #6E1743 #6E6D17 #176E41
square
#17186E #6E1743 #6E6D17 #176E41
split-complementary
#17186E #6E4117 #436E17
monochromatic
#050619 #0C0D3B #17186E #2223A1 #2C2ED3
Accessibility & contrast
On white
15.08
#17186E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#17186E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17186E
15.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17186E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17186E | 1.00 | 15.08 | 1.39 | 15.08 |
| #FFFFFF | 15.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A70
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #17186e; /* rgb */ color: rgb(23, 24, 110); /* oklch */ color: oklch(28.3% 0.143 272.1);
Tailwind
colors: {
custom: {
50: '#655699',
500: '#17186e',
950: '#000000',
},
}SCSS
$custom: #17186e; $custom-light: #655699; $custom-dark: #000000;
JSON
{
"hex": "#17186e",
"rgb": {
"r": 23,
"g": 24,
"b": 110
},
"hsl": {
"h": 239.31,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.283,
"c": 0.1426,
"h": 272.1
},
"luminance": 0.01961
}Semantic roles & 50–950 ramp
primary
#17186E
secondary
#A4A33D
accent
#E63FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E