#21987D#21987D

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

Color values

HEX#21987D
RGBrgb(33, 152, 125)
HSLhsl(166, 64%, 36%)
HSVhsv(166, 78%, 60%)
CMYKcmyk(78.3%, 0%, 17.8%, 40.4%)
CIE-LABlab(56.35, -38.34, 5.17)
CIE-LCHlch(56.35, 38.69, 172.31°)
OKLaboklab(61% -0.108 0.0131)
OKLCHoklch(61% 0.109 173.1)
XYZxyz(15.5552, 24.2586, 23.2606)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21987D #98213C
analogous
#219842 #21987D #217898
triadic
#21987D #7D2198 #987D21
tetradic
#21987D #422198 #98213C #789821
square
#21987D #422198 #98213C #789821
split-complementary
#21987D #982178 #984221
monochromatic
#0B332A #166654 #21987D #2CCAA6 #59DBBD

Accessibility & contrast

On white

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

On black

5.85
#21987D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21987D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21987D#FFFFFF#000000##000000
##21987D1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7C
Deuteranopia (green-blind)
#84837F
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #21987d;
/* rgb */ color: rgb(33, 152, 125);
/* oklch */ color: oklch(61.0% 0.109 173.1);
Tailwind
colors: {
  custom: {
    50: '#71b7a2',
    500: '#21987d',
    950: '#000000',
  },
}
SCSS
$custom: #21987d;
$custom-light: #71b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#21987d",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 166.387,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61,
    "c": 0.10877,
    "h": 173.1
  },
  "luminance": 0.2426
}

Semantic roles & 50–950 ramp

primary
#21987D
secondary
#BF566E
accent
#4066E7
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #21987D

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

Preview Lab → · Contrast checker → · Palette generator →

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