#21877E#21877E

#21877E is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.5% C 0.090 H 186.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#21877E
RGBrgb(33, 135, 126)
HSLhsl(175, 61%, 33%)
HSVhsv(175, 76%, 53%)
CMYKcmyk(75.6%, 0%, 6.7%, 47.1%)
CIE-LABlab(50.87, -30.25, -3.38)
CIE-LCHlch(50.87, 30.44, 186.37°)
OKLaboklab(56.54% -0.0898 -0.0096)
OKLCHoklch(56.54% 0.09 186.1)
XYZxyz(13.0553, 19.1561, 22.7440)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21877E #87212A
analogous
#21874B #21877E #215D87
triadic
#21877E #7E2187 #877E21
tetradic
#21877E #4B2187 #87212A #5D8721
square
#21877E #4B2187 #87212A #5D8721
split-complementary
#21877E #87215D #874B21
monochromatic
#092522 #155650 #21877E #2DB8AC #4FD4C8

Accessibility & contrast

On white

4.35
#21877E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#21877E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21877E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21877E#FFFFFF#000000##000000
##21877E1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7E
Deuteranopia (green-blind)
#71757F
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #21877e;
/* rgb */ color: rgb(33, 135, 126);
/* oklch */ color: oklch(56.5% 0.090 186.1);
Tailwind
colors: {
  custom: {
    50: '#6eaaa3',
    500: '#21877e',
    950: '#000000',
  },
}
SCSS
$custom: #21877e;
$custom-light: #6eaaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#21877e",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 126
  },
  "hsl": {
    "h": 174.706,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56535,
    "c": 0.09028,
    "h": 186.1
  },
  "luminance": 0.19158
}

Semantic roles & 50–950 ramp

primary
#21877E
secondary
#B74D56
accent
#4452E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #21877E

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

Preview Lab → · Contrast checker → · Palette generator →

#21877E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva