#21887B#21887B

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

Color values

HEX#21887B
RGBrgb(33, 136, 123)
HSLhsl(172, 61%, 33%)
HSVhsv(172, 76%, 53%)
CMYKcmyk(75.7%, 0%, 9.6%, 46.7%)
CIE-LABlab(51.11, -31.60, -1.28)
CIE-LCHlch(51.11, 31.63, 182.32°)
OKLaboklab(56.7% -0.0923 -0.004)
OKLCHoklch(56.7% 0.092 182.5)
XYZxyz(13.0048, 19.3602, 21.7865)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21887B #88212E
analogous
#218847 #21887B #216188
triadic
#21887B #7B2188 #887B21
tetradic
#21887B #472188 #88212E #618821
square
#21887B #472188 #88212E #618821
split-complementary
#21887B #882161 #884721
monochromatic
#092522 #15574E #21887B #2DB9A8 #4FD4C3

Accessibility & contrast

On white

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

On black

4.87
#21887B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21887B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21887B#FFFFFF#000000##000000
##21887B1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#21887B
secondary
#B84D5B
accent
#4458E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #21887B

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

Preview Lab → · Contrast checker → · Palette generator →

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