#1E222A#1E222A
#1E222A is a dark, near-neutral blue. Relative luminance 0.016; OKLCH L 25.1% C 0.016 H 264.2°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1E222A |
|---|---|
| RGB | rgb(30, 34, 42) |
| HSL | hsl(220, 17%, 14%) |
| HSV | hsv(220, 29%, 16%) |
| CMYK | cmyk(28.6%, 19%, 0%, 83.5%) |
| CIE-LAB | lab(13.15, 0.46, -5.94) |
| CIE-LCH | lch(13.15, 5.96, 274.45°) |
| OKLab | oklab(25.14% -0.0016 -0.0162) |
| OKLCH | oklch(25.14% 0.016 264.2) |
| XYZ | xyz(1.5253, 1.5872, 2.4160) |
| Luminance | 0.0159 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 2.96
Gunmetal
#2A3439
ΔE00 6.98
Almost Black
#070D0D
ΔE00 8.22
Onyx
#353839
ΔE00 8.34
Dark Grey
#363737
ΔE00 8.47
Charcoal (survey)
#343837
ΔE00 9.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E222A #2A261E
analogous
#1E282A #1E222A #201E2A
triadic
#1E222A #2A1E22 #222A1E
tetradic
#1E222A #2A1E28 #2A261E #1E2A20
square
#1E222A #2A1E28 #2A261E #1E2A20
split-complementary
#1E222A #2A201E #282A1E
monochromatic
#0D0E12 #0D0E12 #1E222A #383F4E #515C71
Accessibility & contrast
On white
15.94
#1E222A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#1E222A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E222A
15.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E222A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E222A | 1.00 | 15.94 | 1.32 | 15.94 |
| #FFFFFF | 15.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20222A
Deuteranopia (green-blind)
#1E212A
Tritanopia (blue-blind)
#1B2425
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #1e222a; /* rgb */ color: rgb(30, 34, 42); /* oklch */ color: oklch(25.1% 0.016 264.2);
Tailwind
colors: {
custom: {
50: '#5a5c63',
500: '#1e222a',
950: '#000000',
},
}SCSS
$custom: #1e222a; $custom-light: #5a5c63; $custom-dark: #000000;
JSON
{
"hex": "#1e222a",
"rgb": {
"r": 30,
"g": 34,
"b": 42
},
"hsl": {
"h": 220,
"s": 16.667,
"l": 14.118
},
"oklch": {
"l": 0.25144,
"c": 0.01629,
"h": 264.2
},
"luminance": 0.01587
}Semantic roles & 50–950 ramp
primary
#1E222A
secondary
#5B5548
accent
#A06EB9
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#030405
muted
#787979