#17168B#17168B
#17168B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.181 H 269.9°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).
Color values
| HEX | #17168B |
|---|---|
| RGB | rgb(23, 22, 139) |
| HSL | hsl(241, 73%, 32%) |
| HSV | hsv(241, 84%, 55%) |
| CMYK | cmyk(83.5%, 84.2%, 0%, 45.5%) |
| CIE-LAB | lab(18.45, 42.52, -62.49) |
| CIE-LCH | lch(18.45, 75.58, 304.23°) |
| OKLab | oklab(31.55% -0.0002 -0.1809) |
| OKLCH | oklch(31.55% 0.181 269.9) |
| XYZ | xyz(5.2989, 2.6194, 24.6474) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.21
Darkblue
#00008B
ΔE00 3.42
Cobalt Blue
#030AA7
ΔE00 3.98
Navy
#000080
ΔE00 4.03
Midnight Blue
#191970
ΔE00 4.35
Royal Blue (survey)
#0504AA
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17168B #8A8B16
analogous
#16508B #17168B #52168B
triadic
#17168B #8B1716 #168B17
tetradic
#17168B #8B1650 #8A8B16 #168B52
square
#17168B #8B1650 #8A8B16 #168B52
split-complementary
#17168B #8B5216 #508B16
monochromatic
#060521 #0E0E56 #17168B #201EC0 #3D3BE0
Accessibility & contrast
On white
13.78
#17168B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#17168B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17168B
13.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17168B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17168B | 1.00 | 13.78 | 1.52 | 13.78 |
| #FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002789
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #17168b; /* rgb */ color: rgb(23, 22, 139); /* oklch */ color: oklch(31.6% 0.181 269.9);
Tailwind
colors: {
custom: {
50: '#6d57ae',
500: '#17168b',
950: '#000000',
},
}SCSS
$custom: #17168b; $custom-light: #6d57ae; $custom-dark: #000000;
JSON
{
"hex": "#17168b",
"rgb": {
"r": 23,
"g": 22,
"b": 139
},
"hsl": {
"h": 240.513,
"s": 72.671,
"l": 31.569
},
"oklch": {
"l": 0.31554,
"c": 0.18092,
"h": 269.9
},
"luminance": 0.0262
}Semantic roles & 50–950 ramp
primary
#17168B
secondary
#BEBF3E
accent
#EF38EE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F