#21987E#21987E

#21987E is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.0% C 0.108 H 173.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#21987E
RGBrgb(33, 152, 126)
HSLhsl(167, 64%, 36%)
HSVhsv(167, 78%, 60%)
CMYKcmyk(78.3%, 0%, 17.1%, 40.4%)
CIE-LABlab(56.37, -38.07, 4.64)
CIE-LCHlch(56.37, 38.36, 173.05°)
OKLaboklab(61.03% -0.1075 0.0117)
OKLCHoklch(61.03% 0.108 173.8)
XYZxyz(15.6194, 24.2843, 23.5987)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21987E #98213B
analogous
#219843 #21987E #217798
triadic
#21987E #7E2198 #987E21
tetradic
#21987E #432198 #98213B #779821
square
#21987E #432198 #98213B #779821
split-complementary
#21987E #982177 #984321
monochromatic
#0B332B #166654 #21987E #2CCAA8 #59DBBE

Accessibility & contrast

On white

3.59
#21987E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#21987E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21987E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21987E#FFFFFF#000000##000000
##21987E1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7D
Deuteranopia (green-blind)
#838380
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #21987e;
/* rgb */ color: rgb(33, 152, 126);
/* oklch */ color: oklch(61.0% 0.108 173.8);
Tailwind
colors: {
  custom: {
    50: '#71b7a3',
    500: '#21987e',
    950: '#000000',
  },
}
SCSS
$custom: #21987e;
$custom-light: #71b7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21987e",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 166.891,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6103,
    "c": 0.10812,
    "h": 173.8
  },
  "luminance": 0.24286
}

Semantic roles & 50–950 ramp

primary
#21987E
secondary
#BF566D
accent
#4065E7
background
#F7FBFA
surface
#EDF6F3
border
#C8D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #21987E

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

Preview Lab → · Contrast checker → · Palette generator →

#21987E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva