#021C1E#021C1E

#021C1E is a very dark, muted teal. Relative luminance 0.009; OKLCH L 20.7% C 0.033 H 201.9°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#021C1E
RGBrgb(2, 28, 30)
HSLhsl(184, 88%, 6%)
HSVhsv(184, 93%, 12%)
CMYKcmyk(93.3%, 6.7%, 0%, 88.2%)
CIE-LABlab(8.46, -8.82, -4.39)
CIE-LCHlch(8.46, 9.85, 206.47°)
OKLaboklab(20.73% -0.0303 -0.0122)
OKLCHoklch(20.73% 0.033 201.9)
XYZxyz(0.6745, 0.9371, 1.3734)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C1E #1E0402
analogous
#021E12 #021C1E #020E1E
triadic
#021C1E #1E021C #1C1E02
tetradic
#021C1E #12021E #1E0402 #0E1E02
square
#021C1E #12021E #1E0402 #0E1E02
split-complementary
#021C1E #1E020E #1E1202
monochromatic
#021B1D #021B1D #021C1E #065257 #0A8791

Accessibility & contrast

On white

17.69
#021C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#021C1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C1E
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C1E#FFFFFF#000000##FFFFFF
##021C1E1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191A1E
Deuteranopia (green-blind)
#15171E
Tritanopia (blue-blind)
#001E1D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021c1e;
/* rgb */ color: rgb(2, 28, 30);
/* oklch */ color: oklch(20.7% 0.033 201.9);
Tailwind
colors: {
  custom: {
    50: '#475859',
    500: '#021c1e',
    950: '#000000',
  },
}
SCSS
$custom: #021c1e;
$custom-light: #475859;
$custom-dark: #000000;
JSON
{
  "hex": "#021c1e",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 30
  },
  "hsl": {
    "h": 184.286,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20727,
    "c": 0.03269,
    "h": 201.9
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#021C1E
secondary
#641D18
accent
#392AFE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #021C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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