#021F14#021F14

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

Color values

HEX#021F14
RGBrgb(2, 31, 20)
HSLhsl(157, 88%, 6%)
HSVhsv(157, 94%, 12%)
CMYKcmyk(93.5%, 0%, 35.5%, 87.8%)
CIE-LABlab(9.35, -14.02, 4.25)
CIE-LCHlch(9.35, 14.65, 163.13°)
OKLaboklab(21.33% -0.0406 0.0111)
OKLCHoklch(21.33% 0.042 164.7)
XYZxyz(0.6412, 1.0433, 0.8293)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F14 #1F020D
analogous
#021F06 #021F14 #021C1F
triadic
#021F14 #14021F #1F1402
tetradic
#021F14 #06021F #1F020D #1C1F02
square
#021F14 #06021F #1F020D #1C1F02
split-complementary
#021F14 #1F021C #1F0602
monochromatic
#021D13 #021D13 #021F14 #065839 #09925E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##021F14#FFFFFF#000000##FFFFFF
##021F141.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)
#1E1C13
Deuteranopia (green-blind)
#1A1915
Tritanopia (blue-blind)
#001F1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021f14;
/* rgb */ color: rgb(2, 31, 20);
/* oklch */ color: oklch(21.3% 0.042 164.7);
Tailwind
colors: {
  custom: {
    50: '#465a51',
    500: '#021f14',
    950: '#000000',
  },
}
SCSS
$custom: #021f14;
$custom-light: #465a51;
$custom-dark: #000000;
JSON
{
  "hex": "#021f14",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 20
  },
  "hsl": {
    "h": 157.241,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21334,
    "c": 0.04207,
    "h": 164.7
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#021F14
secondary
#651835
accent
#2A7AFE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #021F14

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

Preview Lab → · Contrast checker → · Palette generator →

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