#021F1E#021F1E
#021F1E is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.7% C 0.035 H 191.7°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).
Color values
| HEX | #021F1E |
|---|---|
| RGB | rgb(2, 31, 30) |
| HSL | hsl(178, 88%, 6%) |
| HSV | hsv(178, 94%, 12%) |
| CMYK | cmyk(93.5%, 0%, 3.2%, 87.8%) |
| CIE-LAB | lab(9.69, -11.08, -2.54) |
| CIE-LCH | lch(9.69, 11.37, 192.90°) |
| OKLab | oklab(21.73% -0.0343 -0.0071) |
| OKLCH | oklch(21.73% 0.035 191.7) |
| XYZ | xyz(0.7493, 1.0865, 1.3983) |
| Luminance | 0.0109 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Almost Black
#070D0D
ΔE00 10.68
Gunmetal
#2A3439
ΔE00 11.60
Charcoal (survey)
#343837
ΔE00 13.17
Black
#000000
ΔE00 13.49
Dark
#1B2431
ΔE00 13.80
Onyx
#353839
ΔE00 14.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#021F1E #1F0203
analogous
#021F10 #021F1E #02121F
triadic
#021F1E #1E021F #1F1E02
tetradic
#021F1E #10021F #1F0203 #121F02
square
#021F1E #10021F #1F0203 #121F02
split-complementary
#021F1E #1F0212 #1F1002
monochromatic
#021D1C #021D1C #021F1E #065856 #09928D
Accessibility & contrast
On white
17.25
#021F1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.22
#021F1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #021F1E
17.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##021F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##021F1E | 1.00 | 17.25 | 1.22 | 17.25 |
| #FFFFFF | 17.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C1D1E
Deuteranopia (green-blind)
#18191E
Tritanopia (blue-blind)
#00201F
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #021f1e; /* rgb */ color: rgb(2, 31, 30); /* oklch */ color: oklch(21.7% 0.035 191.7);
Tailwind
colors: {
custom: {
50: '#475a59',
500: '#021f1e',
950: '#000000',
},
}SCSS
$custom: #021f1e; $custom-light: #475a59; $custom-dark: #000000;
JSON
{
"hex": "#021f1e",
"rgb": {
"r": 2,
"g": 31,
"b": 30
},
"hsl": {
"h": 177.931,
"s": 87.879,
"l": 6.471
},
"oklch": {
"l": 0.21731,
"c": 0.035,
"h": 191.7
},
"luminance": 0.01087
}Semantic roles & 50–950 ramp
primary
#021F1E
secondary
#65181B
accent
#2A31FE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978