#170A3B#170A3B
#170A3B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.088 H 288.0°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).
Color values
| HEX | #170A3B |
|---|---|
| RGB | rgb(23, 10, 59) |
| HSL | hsl(256, 71%, 14%) |
| HSV | hsv(256, 83%, 23%) |
| CMYK | cmyk(61%, 83.1%, 0%, 76.9%) |
| CIE-LAB | lab(6.46, 21.26, -28.90) |
| CIE-LCH | lch(6.46, 35.88, 306.33°) |
| OKLab | oklab(20.22% 0.0272 -0.0836) |
| OKLCH | oklch(20.22% 0.088 288) |
| XYZ | xyz(1.2511, 0.7149, 4.2089) |
| Luminance | 0.0072 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue (survey)
#020035
ΔE00 4.53
Night Blue
#040348
ΔE00 5.00
Dark Navy
#000435
ΔE00 5.19
Very Dark Blue
#000133
ΔE00 5.23
Navy Blue (survey)
#001146
ΔE00 5.27
Midnight
#03012D
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#170A3B #2E3B0A
analogous
#0A153B #170A3B #2F0A3B
triadic
#170A3B #3B170A #0A3B17
tetradic
#170A3B #3B0A15 #2E3B0A #0A3B2F
square
#170A3B #3B0A15 #2E3B0A #0A3B2F
split-complementary
#170A3B #3B2F0A #153B0A
monochromatic
#0A041A #0A041A #170A3B #2B136F #401CA4
Accessibility & contrast
On white
18.37
#170A3B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#170A3B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #170A3B
18.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##170A3B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##170A3B | 1.00 | 18.37 | 1.14 | 18.37 |
| #FFFFFF | 18.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00133A
Tritanopia (blue-blind)
#091721
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #170a3b; /* rgb */ color: rgb(23, 10, 59); /* oklch */ color: oklch(20.2% 0.088 288.0);
Tailwind
colors: {
custom: {
50: '#594a71',
500: '#170a3b',
950: '#000000',
},
}SCSS
$custom: #170a3b; $custom-light: #594a71; $custom-dark: #000000;
JSON
{
"hex": "#170a3b",
"rgb": {
"r": 23,
"g": 10,
"b": 59
},
"hsl": {
"h": 255.918,
"s": 71.014,
"l": 13.529
},
"oklch": {
"l": 0.20224,
"c": 0.08793,
"h": 288
},
"luminance": 0.00715
}Semantic roles & 50–950 ramp
primary
#170A3B
secondary
#637828
accent
#EE3ABE
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B