#021A1E#021A1E

#021A1E is a very dark, muted teal. Relative luminance 0.008; OKLCH L 20.1% C 0.032 H 209.6°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#021A1E
RGBrgb(2, 26, 30)
HSLhsl(189, 88%, 6%)
HSVhsv(189, 93%, 12%)
CMYKcmyk(93.3%, 13.3%, 0%, 88.2%)
CIE-LABlab(7.64, -7.16, -5.63)
CIE-LCHlch(7.64, 9.11, 218.17°)
OKLaboklab(20.06% -0.0277 -0.0157)
OKLCHoklch(20.06% 0.032 209.6)
XYZxyz(0.6287, 0.8454, 1.3581)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A1E #1E0602
analogous
#021E14 #021A1E #020C1E
triadic
#021A1E #1E021A #1A1E02
tetradic
#021A1E #14021E #1E0602 #0C1E02
square
#021A1E #14021E #1E0602 #0C1E02
split-complementary
#021A1E #1E020C #1E1402
monochromatic
#02191D #02191D #021A1E #064C57 #0A7D91

Accessibility & contrast

On white

17.96
#021A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A1E
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A1E#FFFFFF#000000##FFFFFF
##021A1E1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17191E
Deuteranopia (green-blind)
#12151E
Tritanopia (blue-blind)
#001C1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021a1e;
/* rgb */ color: rgb(2, 26, 30);
/* oklch */ color: oklch(20.1% 0.032 209.6);
Tailwind
colors: {
  custom: {
    50: '#475659',
    500: '#021a1e',
    950: '#000000',
  },
}
SCSS
$custom: #021a1e;
$custom-light: #475659;
$custom-dark: #000000;
JSON
{
  "hex": "#021a1e",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 30
  },
  "hsl": {
    "h": 188.571,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20059,
    "c": 0.03184,
    "h": 209.6
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#021A1E
secondary
#642318
accent
#482AFE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #021A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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