#21877C#21877C

#21877C is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.5% C 0.091 H 184.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#21877C
RGBrgb(33, 135, 124)
HSLhsl(174, 61%, 33%)
HSVhsv(174, 76%, 53%)
CMYKcmyk(75.6%, 0%, 8.1%, 47.1%)
CIE-LABlab(50.81, -30.84, -2.30)
CIE-LCHlch(50.81, 30.92, 184.26°)
OKLaboklab(56.47% -0.0907 -0.0067)
OKLCHoklch(56.47% 0.091 184.2)
XYZxyz(12.9275, 19.1050, 22.0712)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21877C #87212C
analogous
#218749 #21877C #215F87
triadic
#21877C #7C2187 #877C21
tetradic
#21877C #492187 #87212C #5F8721
square
#21877C #492187 #87212C #5F8721
split-complementary
#21877C #87215F #874921
monochromatic
#092522 #15564F #21877C #2DB8A9 #4FD4C5

Accessibility & contrast

On white

4.36
#21877C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#21877C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21877C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21877C#FFFFFF#000000##000000
##21877C1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#72757D
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #21877c;
/* rgb */ color: rgb(33, 135, 124);
/* oklch */ color: oklch(56.5% 0.091 184.2);
Tailwind
colors: {
  custom: {
    50: '#6eaaa1',
    500: '#21877c',
    950: '#000000',
  },
}
SCSS
$custom: #21877c;
$custom-light: #6eaaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#21877c",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 173.529,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.09099,
    "h": 184.2
  },
  "luminance": 0.19107
}

Semantic roles & 50–950 ramp

primary
#21877C
secondary
#B74D58
accent
#4455E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #21877C

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

Preview Lab → · Contrast checker → · Palette generator →

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