#21987F#21987F

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

Color values

HEX#21987F
RGBrgb(33, 152, 127)
HSLhsl(167, 64%, 36%)
HSVhsv(167, 78%, 60%)
CMYKcmyk(78.3%, 0%, 16.4%, 40.4%)
CIE-LABlab(56.40, -37.81, 4.11)
CIE-LCHlch(56.40, 38.03, 173.80°)
OKLaboklab(61.06% -0.107 0.0103)
OKLCHoklch(61.06% 0.107 174.5)
XYZxyz(15.6842, 24.3102, 23.9403)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21987F #98213A
analogous
#219844 #21987F #217698
triadic
#21987F #7F2198 #987F21
tetradic
#21987F #442198 #98213A #769821
square
#21987F #442198 #98213A #769821
split-complementary
#21987F #982176 #984421
monochromatic
#0B332B #166655 #21987F #2CCAA9 #59DBBF

Accessibility & contrast

On white

3.58
#21987F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21987F#FFFFFF#000000##000000
##21987F1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928E7E
Deuteranopia (green-blind)
#838381
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #21987f;
/* rgb */ color: rgb(33, 152, 127);
/* oklch */ color: oklch(61.1% 0.107 174.5);
Tailwind
colors: {
  custom: {
    50: '#71b7a4',
    500: '#21987f',
    950: '#000000',
  },
}
SCSS
$custom: #21987f;
$custom-light: #71b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21987f",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 167.395,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.10749,
    "h": 174.5
  },
  "luminance": 0.24312
}

Semantic roles & 50–950 ramp

primary
#21987F
secondary
#BF566C
accent
#4064E7
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #21987F

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

Preview Lab → · Contrast checker → · Palette generator →

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