#021E1A#021E1A

#021E1A is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.2% C 0.035 H 182.1°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#021E1A
RGBrgb(2, 30, 26)
HSLhsl(171, 88%, 6%)
HSVhsv(171, 93%, 12%)
CMYKcmyk(93.3%, 0%, 13.3%, 88.2%)
CIE-LABlab(9.12, -11.65, -0.41)
CIE-LCHlch(9.12, 11.66, 181.99°)
OKLaboklab(21.22% -0.0354 -0.0013)
OKLCHoklch(21.22% 0.035 182.1)
XYZxyz(0.6757, 1.0160, 1.1376)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E1A #1E0206
analogous
#021E0C #021E1A #02141E
triadic
#021E1A #1A021E #1E1A02
tetradic
#021E1A #0C021E #1E0206 #141E02
square
#021E1A #0C021E #1E0206 #141E02
split-complementary
#021E1A #1E0214 #1E0C02
monochromatic
#021D19 #021D19 #021E1A #06574C #0A917D

Accessibility & contrast

On white

17.45
#021E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021E1A
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E1A#FFFFFF#000000##FFFFFF
##021E1A1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1C1A
Deuteranopia (green-blind)
#18181A
Tritanopia (blue-blind)
#001F1D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021e1a;
/* rgb */ color: rgb(2, 30, 26);
/* oklch */ color: oklch(21.2% 0.035 182.1);
Tailwind
colors: {
  custom: {
    50: '#465956',
    500: '#021e1a',
    950: '#000000',
  },
}
SCSS
$custom: #021e1a;
$custom-light: #465956;
$custom-dark: #000000;
JSON
{
  "hex": "#021e1a",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 26
  },
  "hsl": {
    "h": 171.429,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.21216,
    "c": 0.03543,
    "h": 182.1
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#021E1A
secondary
#641823
accent
#2A48FE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #021E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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