#21787A#21787A

#21787A is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.079 H 197.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#21787A
RGBrgb(33, 120, 122)
HSLhsl(181, 57%, 30%)
HSVhsv(181, 73%, 48%)
CMYKcmyk(73%, 1.6%, 0%, 52.2%)
CIE-LABlab(45.85, -24.02, -8.47)
CIE-LCHlch(45.85, 25.47, 199.43°)
OKLaboklab(52.42% -0.0756 -0.0235)
OKLCHoklch(52.42% 0.079 197.3)
XYZxyz(10.8549, 15.1601, 20.7627)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21787A #7A2321
analogous
#217A4F #21787A #214C7A
triadic
#21787A #7A2178 #787A21
tetradic
#21787A #4F217A #7A2321 #4C7A21
square
#21787A #4F217A #7A2321 #4C7A21
split-complementary
#21787A #7A214C #7A4F21
monochromatic
#07191A #14494A #21787A #2EA7AA #48CACD

Accessibility & contrast

On white

5.21
#21787A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#21787A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21787A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21787A#FFFFFF#000000##FFFFFF
##21787A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727A
Deuteranopia (green-blind)
#62687B
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #21787a;
/* rgb */ color: rgb(33, 120, 122);
/* oklch */ color: oklch(52.4% 0.079 197.3);
Tailwind
colors: {
  custom: {
    50: '#6b9fa0',
    500: '#21787a',
    950: '#000000',
  },
}
SCSS
$custom: #21787a;
$custom-light: #6b9fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#21787a",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 181.348,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52417,
    "c": 0.07919,
    "h": 197.3
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#21787A
secondary
#AD4C4A
accent
#4B47E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #21787A

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

Preview Lab → · Contrast checker → · Palette generator →

#21787A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva