#1E182E#1E182E
#1E182E is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.8% C 0.042 H 295.4°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1E182E |
|---|---|
| RGB | rgb(30, 24, 46) |
| HSL | hsl(256, 31%, 14%) |
| HSV | hsv(256, 48%, 18%) |
| CMYK | cmyk(34.8%, 47.8%, 0%, 82%) |
| CIE-LAB | lab(10.00, 9.16, -13.71) |
| CIE-LCH | lch(10.00, 16.48, 303.74°) |
| OKLab | oklab(22.78% 0.0182 -0.0383) |
| OKLCH | oklch(22.78% 0.042 295.4) |
| XYZ | xyz(1.3551, 1.1265, 2.7303) |
| Luminance | 0.0113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 8.42
Dark Navy Blue
#00022E
ΔE00 8.81
Navy (survey)
#01153E
ΔE00 9.04
Navy Blue
#1B2A4A
ΔE00 9.56
Dark Navy
#000435
ΔE00 9.92
Very Dark Blue
#000133
ΔE00 9.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E182E #282E18
analogous
#181D2E #1E182E #29182E
triadic
#1E182E #2E1E18 #182E1E
tetradic
#1E182E #2E181D #282E18 #182E29
square
#1E182E #2E181D #282E18 #182E29
split-complementary
#1E182E #2E2918 #1D2E18
monochromatic
#0D0A14 #0D0A14 #1E182E #382D56 #52427E
Accessibility & contrast
On white
17.14
#1E182E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.23
#1E182E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E182E
17.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E182E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E182E | 1.00 | 17.14 | 1.23 | 17.14 |
| #FFFFFF | 17.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#121C2F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#1B1C20
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #1e182e; /* rgb */ color: rgb(30, 24, 46); /* oklch */ color: oklch(22.8% 0.042 295.4);
Tailwind
colors: {
custom: {
50: '#5a5466',
500: '#1e182e',
950: '#000000',
},
}SCSS
$custom: #1e182e; $custom-light: #5a5466; $custom-dark: #000000;
JSON
{
"hex": "#1e182e",
"rgb": {
"r": 30,
"g": 24,
"b": 46
},
"hsl": {
"h": 256.364,
"s": 31.429,
"l": 13.725
},
"oklch": {
"l": 0.2278,
"c": 0.04236,
"h": 295.4
},
"luminance": 0.01127
}Semantic roles & 50–950 ramp
primary
#1E182E
secondary
#59633F
accent
#C860AB
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A