#17166C#17166C
#17166C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.142 H 272.7°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).
Color values
| HEX | #17166C |
|---|---|
| RGB | rgb(23, 22, 108) |
| HSL | hsl(241, 66%, 25%) |
| HSV | hsv(241, 80%, 42%) |
| CMYK | cmyk(78.7%, 79.6%, 0%, 57.6%) |
| CIE-LAB | lab(14.61, 31.91, -49.03) |
| CIE-LCH | lch(14.61, 58.50, 303.06°) |
| OKLab | oklab(27.76% 0.0066 -0.1419) |
| OKLCH | oklch(27.76% 0.142 272.7) |
| XYZ | xyz(3.3461, 1.8383, 14.3629) |
| Luminance | 0.0184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.90
Darkblue (survey)
#030764
ΔE00 3.47
Dark Royal Blue
#02066F
ΔE00 3.58
Deep Blue
#040273
ΔE00 4.36
Dark Blue
#00035B
ΔE00 4.82
Dark Indigo
#1F0954
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17166C #6B6C16
analogous
#16406C #17166C #42166C
triadic
#17166C #6C1716 #166C17
tetradic
#17166C #6C1640 #6B6C16 #166C42
square
#17166C #6C1640 #6B6C16 #166C42
split-complementary
#17166C #6C4216 #406C16
monochromatic
#050519 #0C0C39 #17166C #22209F #2D2BD2
Accessibility & contrast
On white
15.35
#17166C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#17166C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17166C
15.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17166C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17166C | 1.00 | 15.35 | 1.37 | 15.35 |
| #FFFFFF | 15.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #17166c; /* rgb */ color: rgb(23, 22, 108); /* oklch */ color: oklch(27.8% 0.142 272.7);
Tailwind
colors: {
custom: {
50: '#645597',
500: '#17166c',
950: '#000000',
},
}SCSS
$custom: #17166c; $custom-light: #645597; $custom-dark: #000000;
JSON
{
"hex": "#17166c",
"rgb": {
"r": 23,
"g": 22,
"b": 108
},
"hsl": {
"h": 240.698,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.27759,
"c": 0.14203,
"h": 272.7
},
"luminance": 0.01839
}Semantic roles & 50–950 ramp
primary
#17166C
secondary
#A1A23C
accent
#E93FE7
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030E
muted
#7A787E