#021F13#021F13

#021F13 is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.3% C 0.043 H 162.7°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#021F13
RGBrgb(2, 31, 19)
HSLhsl(155, 88%, 6%)
HSVhsv(155, 94%, 12%)
CMYKcmyk(93.5%, 0%, 38.7%, 87.8%)
CIE-LABlab(9.32, -14.26, 4.86)
CIE-LCHlch(9.32, 15.06, 161.17°)
OKLaboklab(21.3% -0.0412 0.0128)
OKLCHoklch(21.3% 0.043 162.7)
XYZxyz(0.6325, 1.0398, 0.7833)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F13 #1F020E
analogous
#021F05 #021F13 #021D1F
triadic
#021F13 #13021F #1F1302
tetradic
#021F13 #05021F #1F020E #1D1F02
square
#021F13 #05021F #1F020E #1D1F02
split-complementary
#021F13 #1F021D #1F0502
monochromatic
#021D12 #021D12 #021F13 #065836 #099259

Accessibility & contrast

On white

17.38
#021F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F13
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F13#FFFFFF#000000##FFFFFF
##021F131.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C12
Deuteranopia (green-blind)
#1A1914
Tritanopia (blue-blind)
#001F1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021f13;
/* rgb */ color: rgb(2, 31, 19);
/* oklch */ color: oklch(21.3% 0.043 162.7);
Tailwind
colors: {
  custom: {
    50: '#475a50',
    500: '#021f13',
    950: '#000000',
  },
}
SCSS
$custom: #021f13;
$custom-light: #475a50;
$custom-dark: #000000;
JSON
{
  "hex": "#021f13",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 19
  },
  "hsl": {
    "h": 155.172,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21302,
    "c": 0.04317,
    "h": 162.7
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#021F13
secondary
#651838
accent
#2A82FE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #021F13

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

Preview Lab → · Contrast checker → · Palette generator →

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