#021A0F#021A0F

#021A0F is a very dark, muted teal. Relative luminance 0.008; OKLCH L 19.4% C 0.039 H 161.6°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#021A0F
RGBrgb(2, 26, 15)
HSLhsl(153, 86%, 5%)
HSVhsv(153, 92%, 10%)
CMYKcmyk(92.3%, 0%, 42.3%, 89.8%)
CIE-LABlab(7.10, -10.92, 3.97)
CIE-LCHlch(7.10, 11.62, 160.02°)
OKLaboklab(19.41% -0.0371 0.0124)
OKLCHoklch(19.41% 0.039 161.6)
XYZxyz(0.4806, 0.7861, 0.5783)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A0F #1A020D
analogous
#021A03 #021A0F #02191A
triadic
#021A0F #0F021A #1A0F02
tetradic
#021A0F #03021A #1A020D #191A02
square
#021A0F #03021A #1A020D #191A02
split-complementary
#021A0F #1A0219 #1A0302
monochromatic
#021C10 #021C10 #021C10 #065330 #0B8C51

Accessibility & contrast

On white

18.15
#021A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#021A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A0F
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A0F#FFFFFF#000000##FFFFFF
##021A0F1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19170E
Deuteranopia (green-blind)
#161510
Tritanopia (blue-blind)
#001A17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021a0f;
/* rgb */ color: rgb(2, 26, 15);
/* oklch */ color: oklch(19.4% 0.039 161.6);
Tailwind
colors: {
  custom: {
    50: '#47564e',
    500: '#021a0f',
    950: '#000000',
  },
}
SCSS
$custom: #021a0f;
$custom-light: #47564e;
$custom-dark: #000000;
JSON
{
  "hex": "#021a0f",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 15
  },
  "hsl": {
    "h": 152.5,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19411,
    "c": 0.03912,
    "h": 161.6
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#021A0F
secondary
#601839
accent
#2C8BFC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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