#020C0C#020C0C
#020C0C is a very dark, near-neutral teal. Relative luminance 0.003; OKLCH L 14.2% C 0.019 H 195.2°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).
Color values
| HEX | #020C0C |
|---|---|
| RGB | rgb(2, 12, 12) |
| HSL | hsl(180, 71%, 3%) |
| HSV | hsv(180, 83%, 5%) |
| CMYK | cmyk(83.3%, 0%, 0%, 95.3%) |
| CIE-LAB | lab(2.73, -2.65, -0.93) |
| CIE-LCH | lch(2.73, 2.81, 199.39°) |
| OKLab | oklab(14.24% -0.0182 -0.005) |
| OKLCH | oklch(14.24% 0.019 195.2) |
| XYZ | xyz(0.2228, 0.3024, 0.3944) |
| Luminance | 0.0030 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Almost Black
#070D0D
ΔE00 1.39
Black
#000000
ΔE00 4.06
Dark
#1B2431
ΔE00 10.66
Gunmetal
#2A3439
ΔE00 12.07
Charcoal (survey)
#343837
ΔE00 13.20
Dark Grey
#363737
ΔE00 13.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#020C0C #0C0202
analogous
#020C07 #020C0C #02070C
triadic
#020C0C #0C020C #0C0C02
tetradic
#020C0C #07020C #0C0202 #070C02
square
#020C0C #07020C #0C0202 #070C02
split-complementary
#020C0C #0C0207 #0C0702
monochromatic
#041A1A #041A1A #041A1A #0B4040 #137575
Accessibility & contrast
On white
19.80
#020C0C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.06
#020C0C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #020C0C
19.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##020C0C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##020C0C | 1.00 | 19.80 | 1.06 | 19.80 |
| #FFFFFF | 19.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B0B0C
Deuteranopia (green-blind)
#08090C
Tritanopia (blue-blind)
#000D0C
Achromatopsia (no color)
#0A0A0A
Design tokens & code
CSS
--color: #020c0c; /* rgb */ color: rgb(2, 12, 12); /* oklch */ color: oklch(14.2% 0.019 195.2);
Tailwind
colors: {
custom: {
50: '#474c4c',
500: '#020c0c',
950: '#000000',
},
}SCSS
$custom: #020c0c; $custom-light: #474c4c; $custom-dark: #000000;
JSON
{
"hex": "#020c0c",
"rgb": {
"r": 2,
"g": 12,
"b": 12
},
"hsl": {
"h": 180,
"s": 71.429,
"l": 2.745
},
"oklch": {
"l": 0.1424,
"c": 0.0189,
"h": 195.2
},
"luminance": 0.00302
}Semantic roles & 50–950 ramp
primary
#020C0C
secondary
#4F1A1A
accent
#3A3AEE
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777