#021F15#021F15

#021F15 is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.4% C 0.041 H 166.8°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#021F15
RGBrgb(2, 31, 21)
HSLhsl(159, 88%, 6%)
HSVhsv(159, 94%, 12%)
CMYKcmyk(93.5%, 0%, 32.3%, 87.8%)
CIE-LABlab(9.38, -13.78, 3.62)
CIE-LCHlch(9.38, 14.24, 165.28°)
OKLaboklab(21.37% -0.0399 0.0094)
OKLCHoklch(21.37% 0.041 166.8)
XYZxyz(0.6503, 1.0469, 0.8771)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F15 #1F020C
analogous
#021F07 #021F15 #021B1F
triadic
#021F15 #15021F #1F1502
tetradic
#021F15 #07021F #1F020C #1B1F02
square
#021F15 #07021F #1F020C #1B1F02
split-complementary
#021F15 #1F021B #1F0702
monochromatic
#021D13 #021D13 #021F15 #06583C #099263

Accessibility & contrast

On white

17.36
#021F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F15
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F15#FFFFFF#000000##FFFFFF
##021F151.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021f15;
/* rgb */ color: rgb(2, 31, 21);
/* oklch */ color: oklch(21.4% 0.041 166.8);
Tailwind
colors: {
  custom: {
    50: '#465a52',
    500: '#021f15',
    950: '#000000',
  },
}
SCSS
$custom: #021f15;
$custom-light: #465a52;
$custom-dark: #000000;
JSON
{
  "hex": "#021f15",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 21
  },
  "hsl": {
    "h": 159.31,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21368,
    "c": 0.04101,
    "h": 166.8
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#021F15
secondary
#651832
accent
#2A73FE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #021F15

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

Preview Lab → · Contrast checker → · Palette generator →

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