#021B1D#021B1D

#021B1D is a very dark, muted teal. Relative luminance 0.009; OKLCH L 20.3% C 0.032 H 202.1°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#021B1D
RGBrgb(2, 27, 29)
HSLhsl(184, 87%, 6%)
HSVhsv(184, 93%, 11%)
CMYKcmyk(93.1%, 6.9%, 0%, 88.6%)
CIE-LABlab(8.00, -8.31, -4.33)
CIE-LCHlch(8.00, 9.37, 207.51°)
OKLaboklab(20.34% -0.0296 -0.012)
OKLCHoklch(20.34% 0.032 202.1)
XYZxyz(0.6386, 0.8854, 1.2994)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B1D #1D0402
analogous
#021D11 #021B1D #020D1D
triadic
#021B1D #1D021B #1B1D02
tetradic
#021B1D #11021D #1D0402 #0D1D02
square
#021B1D #11021D #1D0402 #0D1D02
split-complementary
#021B1D #1D020D #1D1102
monochromatic
#021B1D #021B1D #021B1D #065056 #0A8690

Accessibility & contrast

On white

17.84
#021B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#021B1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B1D
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B1D#FFFFFF#000000##FFFFFF
##021B1D1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18191D
Deuteranopia (green-blind)
#14161D
Tritanopia (blue-blind)
#001D1C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021b1d;
/* rgb */ color: rgb(2, 27, 29);
/* oklch */ color: oklch(20.3% 0.032 202.1);
Tailwind
colors: {
  custom: {
    50: '#475758',
    500: '#021b1d',
    950: '#000000',
  },
}
SCSS
$custom: #021b1d;
$custom-light: #475758;
$custom-dark: #000000;
JSON
{
  "hex": "#021b1d",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 29
  },
  "hsl": {
    "h": 184.444,
    "s": 87.097,
    "l": 6.078
  },
  "oklch": {
    "l": 0.20341,
    "c": 0.03194,
    "h": 202.1
  },
  "luminance": 0.00885
}

Semantic roles & 50–950 ramp

primary
#021B1D
secondary
#631E18
accent
#3A2BFD
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #021B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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