#021E1E#021E1E

#021E1E is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.4% C 0.034 H 194.9°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#021E1E
RGBrgb(2, 30, 30)
HSLhsl(180, 88%, 6%)
HSVhsv(180, 93%, 12%)
CMYKcmyk(93.3%, 0%, 0%, 88.2%)
CIE-LABlab(9.28, -10.36, -3.15)
CIE-LCHlch(9.28, 10.83, 196.92°)
OKLaboklab(21.4% -0.033 -0.0088)
OKLCHoklch(21.4% 0.034 194.9)
XYZxyz(0.7235, 1.0351, 1.3897)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E1E #1E0202
analogous
#021E10 #021E1E #02101E
triadic
#021E1E #1E021E #1E1E02
tetradic
#021E1E #10021E #1E0202 #101E02
square
#021E1E #10021E #1E0202 #101E02
split-complementary
#021E1E #1E0210 #1E1002
monochromatic
#021D1D #021D1D #021E1E #065757 #0A9191

Accessibility & contrast

On white

17.40
#021E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#021E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021E1E
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E1E#FFFFFF#000000##FFFFFF
##021E1E1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1E
Deuteranopia (green-blind)
#17191E
Tritanopia (blue-blind)
#001F1E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021e1e;
/* rgb */ color: rgb(2, 30, 30);
/* oklch */ color: oklch(21.4% 0.034 194.9);
Tailwind
colors: {
  custom: {
    50: '#475959',
    500: '#021e1e',
    950: '#000000',
  },
}
SCSS
$custom: #021e1e;
$custom-light: #475959;
$custom-dark: #000000;
JSON
{
  "hex": "#021e1e",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 30
  },
  "hsl": {
    "h": 180,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.21396,
    "c": 0.03411,
    "h": 194.9
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#021E1E
secondary
#641818
accent
#2A2AFE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #021E1E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#021E1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva