#021F24#021F24

#021F24 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 22.0% C 0.036 H 210.8°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#021F24
RGBrgb(2, 31, 36)
HSLhsl(189, 89%, 7%)
HSVhsv(189, 94%, 14%)
CMYKcmyk(94.4%, 13.9%, 0%, 85.9%)
CIE-LABlab(9.95, -8.77, -6.58)
CIE-LCHlch(9.95, 10.97, 216.89°)
OKLaboklab(22.03% -0.0308 -0.0184)
OKLCHoklch(22.03% 0.036 210.8)
XYZxyz(0.8333, 1.1201, 1.8410)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F24 #240702
analogous
#022418 #021F24 #020E24
triadic
#021F24 #24021F #1F2402
tetradic
#021F24 #180224 #240702 #0E2402
square
#021F24 #180224 #240702 #0E2402
split-complementary
#021F24 #24020E #241802
monochromatic
#02191D #02191D #021F24 #05515E #088398

Accessibility & contrast

On white

17.16
#021F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#021F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F24
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F24#FFFFFF#000000##FFFFFF
##021F241.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1D24
Deuteranopia (green-blind)
#161A24
Tritanopia (blue-blind)
#002121
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021f24;
/* rgb */ color: rgb(2, 31, 36);
/* oklch */ color: oklch(22.0% 0.036 210.8);
Tailwind
colors: {
  custom: {
    50: '#485a5e',
    500: '#021f24',
    950: '#000000',
  },
}
SCSS
$custom: #021f24;
$custom-light: #485a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#021f24",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 36
  },
  "hsl": {
    "h": 188.824,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22031,
    "c": 0.03587,
    "h": 210.8
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#021F24
secondary
#6A2418
accent
#4829FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000404
muted
#777979

Preview Lab

Preview with #021F24

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

Preview Lab → · Contrast checker → · Palette generator →

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