#021F1A#021F1A

#021F1A is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.6% C 0.037 H 179.5°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#021F1A
RGBrgb(2, 31, 26)
HSLhsl(170, 88%, 6%)
HSVhsv(170, 94%, 12%)
CMYKcmyk(93.5%, 0%, 16.1%, 87.8%)
CIE-LABlab(9.54, -12.39, 0.20)
CIE-LCHlch(9.54, 12.39, 179.05°)
OKLaboklab(21.56% -0.0367 0.0003)
OKLCHoklch(21.56% 0.037 179.5)
XYZxyz(0.7014, 1.0674, 1.1461)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F1A #1F0207
analogous
#021F0C #021F1A #02161F
triadic
#021F1A #1A021F #1F1A02
tetradic
#021F1A #0C021F #1F0207 #161F02
square
#021F1A #0C021F #1F0207 #161F02
split-complementary
#021F1A #1F0216 #1F0C02
monochromatic
#021D18 #021D18 #021F1A #06584A #09927A

Accessibility & contrast

On white

17.31
#021F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F1A
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F1A#FFFFFF#000000##FFFFFF
##021F1A1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1C1A
Deuteranopia (green-blind)
#19191A
Tritanopia (blue-blind)
#00201D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021f1a;
/* rgb */ color: rgb(2, 31, 26);
/* oklch */ color: oklch(21.6% 0.037 179.5);
Tailwind
colors: {
  custom: {
    50: '#465a56',
    500: '#021f1a',
    950: '#000000',
  },
}
SCSS
$custom: #021f1a;
$custom-light: #465a56;
$custom-dark: #000000;
JSON
{
  "hex": "#021f1a",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 26
  },
  "hsl": {
    "h": 169.655,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21557,
    "c": 0.03674,
    "h": 179.5
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#021F1A
secondary
#651825
accent
#2A4EFE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #021F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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