#021C1F#021C1F
#021C1F is a very dark, muted teal. Relative luminance 0.009; OKLCH L 20.8% C 0.033 H 205.4°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).
Color values
| HEX | #021C1F |
|---|---|
| RGB | rgb(2, 28, 31) |
| HSL | hsl(186, 88%, 6%) |
| HSV | hsv(186, 94%, 12%) |
| CMYK | cmyk(93.5%, 9.7%, 0%, 87.8%) |
| CIE-LAB | lab(8.50, -8.48, -5.07) |
| CIE-LCH | lch(8.50, 9.88, 210.88°) |
| OKLab | oklab(20.78% -0.0297 -0.0141) |
| OKLCH | oklch(20.78% 0.033 205.4) |
| XYZ | xyz(0.6875, 0.9423, 1.4417) |
| Luminance | 0.0094 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Almost Black
#070D0D
ΔE00 8.80
Gunmetal
#2A3439
ΔE00 10.23
Dark
#1B2431
ΔE00 11.13
Black
#000000
ΔE00 11.62
Charcoal (survey)
#343837
ΔE00 12.65
Dark Blue Grey
#1F3B4D
ΔE00 12.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#021C1F #1F0502
analogous
#021F14 #021C1F #020E1F
triadic
#021C1F #1F021C #1C1F02
tetradic
#021C1F #14021F #1F0502 #0E1F02
square
#021C1F #14021F #1F0502 #0E1F02
split-complementary
#021C1F #1F020E #1F1402
monochromatic
#021A1D #021A1D #021C1F #065058 #098492
Accessibility & contrast
On white
17.67
#021C1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.19
#021C1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #021C1F
17.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##021C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##021C1F | 1.00 | 17.67 | 1.19 | 17.67 |
| #FFFFFF | 17.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#191A1F
Deuteranopia (green-blind)
#14171F
Tritanopia (blue-blind)
#001E1D
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #021c1f; /* rgb */ color: rgb(2, 28, 31); /* oklch */ color: oklch(20.8% 0.033 205.4);
Tailwind
colors: {
custom: {
50: '#47585a',
500: '#021c1f',
950: '#000000',
},
}SCSS
$custom: #021c1f; $custom-light: #47585a; $custom-dark: #000000;
JSON
{
"hex": "#021c1f",
"rgb": {
"r": 2,
"g": 28,
"b": 31
},
"hsl": {
"h": 186.207,
"s": 87.879,
"l": 6.471
},
"oklch": {
"l": 0.20778,
"c": 0.03293,
"h": 205.4
},
"luminance": 0.00942
}Semantic roles & 50–950 ramp
primary
#021C1F
secondary
#652018
accent
#402AFE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878