#17166F#17166F
#17166F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.146 H 272.3°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).
Color values
| HEX | #17166F |
|---|---|
| RGB | rgb(23, 22, 111) |
| HSL | hsl(241, 67%, 26%) |
| HSV | hsv(241, 80%, 44%) |
| CMYK | cmyk(79.3%, 80.2%, 0%, 56.5%) |
| CIE-LAB | lab(14.97, 32.98, -50.39) |
| CIE-LCH | lch(14.97, 60.23, 303.21°) |
| OKLab | oklab(28.12% 0.006 -0.1459) |
| OKLCH | oklch(28.12% 0.146 272.3) |
| XYZ | xyz(3.5085, 1.9033, 15.2183) |
| Luminance | 0.0190 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.76
Dark Royal Blue
#02066F
ΔE00 3.42
Darkblue (survey)
#030764
ΔE00 3.57
Deep Blue
#040273
ΔE00 4.14
Navy
#000080
ΔE00 4.97
Dark Blue
#00035B
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17166F #6E6F16
analogous
#16416F #17166F #43166F
triadic
#17166F #6F1716 #166F17
tetradic
#17166F #6F1641 #6E6F16 #166F43
square
#17166F #6F1641 #6E6F16 #166F43
split-complementary
#17166F #6F4316 #416F16
monochromatic
#05051A #0C0C3C #17166F #2220A2 #2C2BD5
Accessibility & contrast
On white
15.21
#17166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#17166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17166F
15.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17166F | 1.00 | 15.21 | 1.38 | 15.21 |
| #FFFFFF | 15.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #17166f; /* rgb */ color: rgb(23, 22, 111); /* oklch */ color: oklch(28.1% 0.146 272.3);
Tailwind
colors: {
custom: {
50: '#655599',
500: '#17166f',
950: '#000000',
},
}SCSS
$custom: #17166f; $custom-light: #655599; $custom-dark: #000000;
JSON
{
"hex": "#17166f",
"rgb": {
"r": 23,
"g": 22,
"b": 111
},
"hsl": {
"h": 240.674,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.28116,
"c": 0.14598,
"h": 272.3
},
"luminance": 0.01904
}Semantic roles & 50–950 ramp
primary
#17166F
secondary
#A4A53C
accent
#EA3EE8
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E