#021A1A#021A1A

#021A1A is a very dark, muted teal. Relative luminance 0.008; OKLCH L 19.9% C 0.031 H 194.9°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#021A1A
RGBrgb(2, 26, 26)
HSLhsl(180, 86%, 5%)
HSVhsv(180, 92%, 10%)
CMYKcmyk(92.3%, 0%, 0%, 89.8%)
CIE-LABlab(7.46, -8.38, -2.86)
CIE-LCHlch(7.46, 8.85, 198.85°)
OKLaboklab(19.85% -0.03 -0.008)
OKLCHoklch(19.85% 0.031 194.9)
XYZxyz(0.5808, 0.8262, 1.1059)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A1A #1A0202
analogous
#021A0E #021A1A #020E1A
triadic
#021A1A #1A021A #1A1A02
tetradic
#021A1A #0E021A #1A0202 #0E1A02
square
#021A1A #0E021A #1A0202 #0E1A02
split-complementary
#021A1A #1A020E #1A0E02
monochromatic
#021C1C #021C1C #021C1C #065353 #0B8C8C

Accessibility & contrast

On white

18.02
#021A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A1A
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A1A#FFFFFF#000000##FFFFFF
##021A1A1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18181A
Deuteranopia (green-blind)
#14151A
Tritanopia (blue-blind)
#001B1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021a1a;
/* rgb */ color: rgb(2, 26, 26);
/* oklch */ color: oklch(19.9% 0.031 194.9);
Tailwind
colors: {
  custom: {
    50: '#475656',
    500: '#021a1a',
    950: '#000000',
  },
}
SCSS
$custom: #021a1a;
$custom-light: #475656;
$custom-dark: #000000;
JSON
{
  "hex": "#021a1a",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 26
  },
  "hsl": {
    "h": 180,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19854,
    "c": 0.03109,
    "h": 194.9
  },
  "luminance": 0.00826
}

Semantic roles & 50–950 ramp

primary
#021A1A
secondary
#601818
accent
#2C2CFC
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #021A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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