#021A1B#021A1B

#021A1B is a very dark, muted teal. Relative luminance 0.008; OKLCH L 19.9% C 0.031 H 198.6°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#021A1B
RGBrgb(2, 26, 27)
HSLhsl(182, 86%, 6%)
HSVhsv(182, 93%, 11%)
CMYKcmyk(92.6%, 3.7%, 0%, 89.4%)
CIE-LABlab(7.50, -8.09, -3.56)
CIE-LCHlch(7.50, 8.84, 203.73°)
OKLaboklab(19.9% -0.0294 -0.0099)
OKLCHoklch(19.9% 0.031 198.6)
XYZxyz(0.5922, 0.8308, 1.1658)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A1B #1B0302
analogous
#021B0F #021A1B #020D1B
triadic
#021A1B #1B021A #1A1B02
tetradic
#021A1B #0F021B #1B0302 #0D1B02
square
#021A1B #0F021B #1B0302 #0D1B02
split-complementary
#021A1B #1B020D #1B0F02
monochromatic
#021B1C #021B1C #021B1C #065154 #0A888D

Accessibility & contrast

On white

18.01
#021A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A1B
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A1B#FFFFFF#000000##FFFFFF
##021A1B1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181B
Deuteranopia (green-blind)
#13151B
Tritanopia (blue-blind)
#001B1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021a1b;
/* rgb */ color: rgb(2, 26, 27);
/* oklch */ color: oklch(19.9% 0.031 198.6);
Tailwind
colors: {
  custom: {
    50: '#475657',
    500: '#021a1b',
    950: '#000000',
  },
}
SCSS
$custom: #021a1b;
$custom-light: #475657;
$custom-dark: #000000;
JSON
{
  "hex": "#021a1b",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 27
  },
  "hsl": {
    "h": 182.4,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19903,
    "c": 0.03106,
    "h": 198.6
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#021A1B
secondary
#611B18
accent
#342BFC
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #021A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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