#21987B#21987B

#21987B is a mid, moderate teal. Relative luminance 0.242; OKLCH L 60.9% C 0.110 H 171.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#21987B
RGBrgb(33, 152, 123)
HSLhsl(165, 64%, 36%)
HSVhsv(165, 78%, 60%)
CMYKcmyk(78.3%, 0%, 19.1%, 40.4%)
CIE-LABlab(56.30, -38.87, 6.24)
CIE-LCHlch(56.30, 39.36, 170.88°)
OKLaboklab(60.94% -0.109 0.0159)
OKLCHoklch(60.94% 0.11 171.7)
XYZxyz(15.4287, 24.2080, 22.5945)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21987B #98213E
analogous
#219840 #21987B #217A98
triadic
#21987B #7B2198 #987B21
tetradic
#21987B #402198 #98213E #7A9821
square
#21987B #402198 #98213E #7A9821
split-complementary
#21987B #98217A #984021
monochromatic
#0B332A #166652 #21987B #2CCAA4 #59DBBB

Accessibility & contrast

On white

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

On black

5.84
#21987B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21987B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21987B#FFFFFF#000000##000000
##21987B1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938D7A
Deuteranopia (green-blind)
#84827D
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #21987b;
/* rgb */ color: rgb(33, 152, 123);
/* oklch */ color: oklch(60.9% 0.110 171.7);
Tailwind
colors: {
  custom: {
    50: '#71b7a1',
    500: '#21987b',
    950: '#000000',
  },
}
SCSS
$custom: #21987b;
$custom-light: #71b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21987b",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 123
  },
  "hsl": {
    "h": 165.378,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60942,
    "c": 0.11012,
    "h": 171.7
  },
  "luminance": 0.2421
}

Semantic roles & 50–950 ramp

primary
#21987B
secondary
#BF566F
accent
#4069E7
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #21987B

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

Preview Lab → · Contrast checker → · Palette generator →

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