#21877B#21877B

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

Color values

HEX#21877B
RGBrgb(33, 135, 123)
HSLhsl(173, 61%, 33%)
HSVhsv(173, 76%, 53%)
CMYKcmyk(75.6%, 0%, 8.9%, 47.1%)
CIE-LABlab(50.78, -31.13, -1.76)
CIE-LCHlch(50.78, 31.18, 183.23°)
OKLaboklab(56.43% -0.0912 -0.0052)
OKLCHoklch(56.43% 0.091 183.3)
XYZxyz(12.8646, 19.0798, 21.7398)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21877B #87212D
analogous
#218748 #21877B #216087
triadic
#21877B #7B2187 #877B21
tetradic
#21877B #482187 #87212D #608721
square
#21877B #482187 #87212D #608721
split-complementary
#21877B #872160 #874821
monochromatic
#092521 #15564E #21877B #2DB8A8 #4FD4C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21877B#FFFFFF#000000##000000
##21877B1.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)
#807F7B
Deuteranopia (green-blind)
#72757C
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #21877b;
/* rgb */ color: rgb(33, 135, 123);
/* oklch */ color: oklch(56.4% 0.091 183.3);
Tailwind
colors: {
  custom: {
    50: '#6eaaa1',
    500: '#21877b',
    950: '#000000',
  },
}
SCSS
$custom: #21877b;
$custom-light: #6eaaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#21877b",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 172.941,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.09138,
    "h": 183.3
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#21877B
secondary
#B74D59
accent
#4457E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #21877B

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

Preview Lab → · Contrast checker → · Palette generator →

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