#21887C#21887C

#21887C is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.7% C 0.092 H 183.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#21887C
RGBrgb(33, 136, 124)
HSLhsl(173, 61%, 33%)
HSVhsv(173, 76%, 53%)
CMYKcmyk(75.7%, 0%, 8.8%, 46.7%)
CIE-LABlab(51.13, -31.31, -1.82)
CIE-LCHlch(51.13, 31.37, 183.32°)
OKLaboklab(56.73% -0.0918 -0.0054)
OKLCHoklch(56.73% 0.092 183.4)
XYZxyz(13.0677, 19.3853, 22.1179)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21887C #88212D
analogous
#218848 #21887C #216088
triadic
#21887C #7C2188 #887C21
tetradic
#21887C #482188 #88212D #608821
square
#21887C #482188 #88212D #608821
split-complementary
#21887C #882160 #884821
monochromatic
#092522 #15574F #21887C #2DB9A9 #4FD4C5

Accessibility & contrast

On white

4.31
#21887C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#21887C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21887C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21887C#FFFFFF#000000##000000
##21887C1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81807C
Deuteranopia (green-blind)
#73757D
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #21887c;
/* rgb */ color: rgb(33, 136, 124);
/* oklch */ color: oklch(56.7% 0.092 183.4);
Tailwind
colors: {
  custom: {
    50: '#6eaba1',
    500: '#21887c',
    950: '#000000',
  },
}
SCSS
$custom: #21887c;
$custom-light: #6eaba1;
$custom-dark: #000000;
JSON
{
  "hex": "#21887c",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 124
  },
  "hsl": {
    "h": 173.01,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.09196,
    "h": 183.4
  },
  "luminance": 0.19387
}

Semantic roles & 50–950 ramp

primary
#21887C
secondary
#B84D5A
accent
#4456E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #21887C

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

Preview Lab → · Contrast checker → · Palette generator →

#21887C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva