#021B16#021B16

#021B16 is a very dark, muted teal. Relative luminance 0.009; OKLCH L 20.0% C 0.034 H 177.9°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#021B16
RGBrgb(2, 27, 22)
HSLhsl(168, 86%, 6%)
HSVhsv(168, 93%, 11%)
CMYKcmyk(92.6%, 0%, 18.5%, 89.4%)
CIE-LABlab(7.72, -10.26, 0.52)
CIE-LCHlch(7.72, 10.28, 177.11°)
OKLaboklab(20.02% -0.0339 0.0012)
OKLCHoklch(20.02% 0.034 177.9)
XYZxyz(0.5617, 0.8546, 0.8943)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B16 #1B0207
analogous
#021B09 #021B16 #02131B
triadic
#021B16 #16021B #1B1602
tetradic
#021B16 #09021B #1B0207 #131B02
square
#021B16 #09021B #1B0207 #131B02
split-complementary
#021B16 #1B0213 #1B0902
monochromatic
#021C17 #021C17 #021C17 #065444 #0A8D73

Accessibility & contrast

On white

17.93
#021B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B16
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B16#FFFFFF#000000##FFFFFF
##021B161.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191916
Deuteranopia (green-blind)
#161616
Tritanopia (blue-blind)
#001C19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021b16;
/* rgb */ color: rgb(2, 27, 22);
/* oklch */ color: oklch(20.0% 0.034 177.9);
Tailwind
colors: {
  custom: {
    50: '#475752',
    500: '#021b16',
    950: '#000000',
  },
}
SCSS
$custom: #021b16;
$custom-light: #475752;
$custom-dark: #000000;
JSON
{
  "hex": "#021b16",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 22
  },
  "hsl": {
    "h": 168,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.20019,
    "c": 0.03392,
    "h": 177.9
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#021B16
secondary
#611827
accent
#2B55FC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #021B16

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

Preview Lab → · Contrast checker → · Palette generator →

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