#20787B#20787B

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

Color values

HEX#20787B
RGBrgb(32, 120, 123)
HSLhsl(182, 59%, 30%)
HSVhsv(182, 74%, 48%)
CMYKcmyk(74%, 2.4%, 0%, 51.8%)
CIE-LABlab(45.86, -23.84, -9.05)
CIE-LCHlch(45.86, 25.50, 200.79°)
OKLaboklab(52.43% -0.0756 -0.0251)
OKLCHoklch(52.43% 0.08 198.4)
XYZxyz(10.8857, 15.1688, 21.0892)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20787B #7B2320
analogous
#207B50 #20787B #204A7B
triadic
#20787B #7B2078 #787B20
tetradic
#20787B #50207B #7B2320 #4A7B20
square
#20787B #50207B #7B2320 #4A7B20
split-complementary
#20787B #7B204A #7B5020
monochromatic
#07191A #13494A #20787B #2DA7AC #46CACF

Accessibility & contrast

On white

5.21
#20787B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#20787B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20787B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20787B#FFFFFF#000000##FFFFFF
##20787B1.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)
#6F727B
Deuteranopia (green-blind)
#62687B
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #20787b;
/* rgb */ color: rgb(32, 120, 123);
/* oklch */ color: oklch(52.4% 0.080 198.4);
Tailwind
colors: {
  custom: {
    50: '#6b9fa1',
    500: '#20787b',
    950: '#000000',
  },
}
SCSS
$custom: #20787b;
$custom-light: #6b9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#20787b",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 181.978,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52431,
    "c": 0.07965,
    "h": 198.4
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#20787B
secondary
#AE4C49
accent
#4B46E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #20787B

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

Preview Lab → · Contrast checker → · Palette generator →

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