#021B18#021B18

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

Color values

HEX#021B18
RGBrgb(2, 27, 24)
HSLhsl(173, 86%, 6%)
HSVhsv(173, 93%, 11%)
CMYKcmyk(92.6%, 0%, 11.1%, 89.4%)
CIE-LABlab(7.79, -9.75, -0.86)
CIE-LCHlch(7.79, 9.79, 185.04°)
OKLaboklab(20.1% -0.0326 -0.0025)
OKLCHoklch(20.1% 0.033 184.4)
XYZxyz(0.5818, 0.8626, 0.9998)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B18 #1B0205
analogous
#021B0B #021B18 #02111B
triadic
#021B18 #18021B #1B1802
tetradic
#021B18 #0B021B #1B0205 #111B02
square
#021B18 #0B021B #1B0205 #111B02
split-complementary
#021B18 #1B0211 #1B0B02
monochromatic
#021C19 #021C19 #021C19 #06544B #0A8D7D

Accessibility & contrast

On white

17.91
#021B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021B18
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B18#FFFFFF#000000##FFFFFF
##021B181.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191918
Deuteranopia (green-blind)
#151618
Tritanopia (blue-blind)
#001C1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021b18;
/* rgb */ color: rgb(2, 27, 24);
/* oklch */ color: oklch(20.1% 0.033 184.4);
Tailwind
colors: {
  custom: {
    50: '#475754',
    500: '#021b18',
    950: '#000000',
  },
}
SCSS
$custom: #021b18;
$custom-light: #475754;
$custom-dark: #000000;
JSON
{
  "hex": "#021b18",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 172.8,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.20104,
    "c": 0.03273,
    "h": 184.4
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#021B18
secondary
#611821
accent
#2B44FC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #021B18

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

Preview Lab → · Contrast checker → · Palette generator →

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