#17168F#17168F
#17168F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.186 H 269.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #17168F |
|---|---|
| RGB | rgb(23, 22, 143) |
| HSL | hsl(240, 73%, 32%) |
| HSV | hsv(240, 85%, 56%) |
| CMYK | cmyk(83.9%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(18.96, 43.81, -64.14) |
| CIE-LCH | lch(18.96, 77.67, 304.34°) |
| OKLab | oklab(32.06% -0.0011 -0.1857) |
| OKLCH | oklch(32.06% 0.186 269.7) |
| XYZ | xyz(5.5965, 2.7385, 26.2149) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.78
Cobalt Blue
#030AA7
ΔE00 3.46
Darkblue
#00008B
ΔE00 3.46
Royal Blue (survey)
#0504AA
ΔE00 4.01
Navy
#000080
ΔE00 4.28
Midnight Blue
#191970
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17168F #8E8F16
analogous
#16518F #17168F #54168F
triadic
#17168F #8F1716 #168F17
tetradic
#17168F #8F1651 #8E8F16 #168F54
square
#17168F #8F1651 #8E8F16 #168F54
split-complementary
#17168F #8F5416 #518F16
monochromatic
#060625 #0E0E5A #17168F #201EC4 #3F3EE1
Accessibility & contrast
On white
13.57
#17168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#17168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17168F
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17168F | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #17168f; /* rgb */ color: rgb(23, 22, 143); /* oklch */ color: oklch(32.1% 0.186 269.7);
Tailwind
colors: {
custom: {
50: '#6e57b1',
500: '#17168f',
950: '#000000',
},
}SCSS
$custom: #17168f; $custom-light: #6e57b1; $custom-dark: #000000;
JSON
{
"hex": "#17168f",
"rgb": {
"r": 23,
"g": 22,
"b": 143
},
"hsl": {
"h": 240.496,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.32058,
"c": 0.18567,
"h": 269.7
},
"luminance": 0.02739
}Semantic roles & 50–950 ramp
primary
#17168F
secondary
#C0C13F
accent
#F038EE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880