#17166E#17166E
#17166E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.145 H 272.5°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).
Color values
| HEX | #17166E |
|---|---|
| RGB | rgb(23, 22, 110) |
| HSL | hsl(241, 67%, 26%) |
| HSV | hsv(241, 80%, 43%) |
| CMYK | cmyk(79.1%, 80%, 0%, 56.9%) |
| CIE-LAB | lab(14.85, 32.63, -49.94) |
| CIE-LCH | lch(14.85, 59.65, 303.16°) |
| OKLab | oklab(28% 0.0062 -0.1445) |
| OKLCH | oklch(28% 0.145 272.5) |
| XYZ | xyz(3.4538, 1.8814, 14.9300) |
| Luminance | 0.0188 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.77
Dark Royal Blue
#02066F
ΔE00 3.47
Darkblue (survey)
#030764
ΔE00 3.52
Deep Blue
#040273
ΔE00 4.20
Dark Blue
#00035B
ΔE00 4.94
Navy
#000080
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17166E #6D6E16
analogous
#16416E #17166E #43166E
triadic
#17166E #6E1716 #166E17
tetradic
#17166E #6E1641 #6D6E16 #166E43
square
#17166E #6E1641 #6D6E16 #166E43
split-complementary
#17166E #6E4316 #416E16
monochromatic
#05051A #0C0C3B #17166E #2220A1 #2C2AD4
Accessibility & contrast
On white
15.26
#17166E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#17166E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17166E
15.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17166E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17166E | 1.00 | 15.26 | 1.38 | 15.26 |
| #FFFFFF | 15.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #17166e; /* rgb */ color: rgb(23, 22, 110); /* oklch */ color: oklch(28.0% 0.145 272.5);
Tailwind
colors: {
custom: {
50: '#655599',
500: '#17166e',
950: '#000000',
},
}SCSS
$custom: #17166e; $custom-light: #655599; $custom-dark: #000000;
JSON
{
"hex": "#17166e",
"rgb": {
"r": 23,
"g": 22,
"b": 110
},
"hsl": {
"h": 240.682,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.27997,
"c": 0.14467,
"h": 272.5
},
"luminance": 0.01882
}Semantic roles & 50–950 ramp
primary
#17166E
secondary
#A3A43C
accent
#EA3EE8
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E