#20787C#20787C

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

Color values

HEX#20787C
RGBrgb(32, 120, 124)
HSLhsl(183, 59%, 31%)
HSVhsv(183, 74%, 49%)
CMYKcmyk(74.2%, 3.2%, 0%, 51.4%)
CIE-LABlab(45.90, -23.52, -9.60)
CIE-LCHlch(45.90, 25.41, 202.20°)
OKLaboklab(52.47% -0.0751 -0.0266)
OKLCHoklch(52.47% 0.08 199.5)
XYZxyz(10.9486, 15.1940, 21.4206)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20787C #7C2420
analogous
#207C52 #20787C #204A7C
triadic
#20787C #7C2078 #787C20
tetradic
#20787C #52207C #7C2420 #4A7C20
square
#20787C #52207C #7C2420 #4A7C20
split-complementary
#20787C #7C204A #7C5220
monochromatic
#071A1B #13494B #20787C #2DA7AD #47CACF

Accessibility & contrast

On white

5.20
#20787C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#20787C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20787C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20787C#FFFFFF#000000##FFFFFF
##20787C1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727C
Deuteranopia (green-blind)
#62697C
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #20787c;
/* rgb */ color: rgb(32, 120, 124);
/* oklch */ color: oklch(52.5% 0.080 199.5);
Tailwind
colors: {
  custom: {
    50: '#6b9fa1',
    500: '#20787c',
    950: '#000000',
  },
}
SCSS
$custom: #20787c;
$custom-light: #6b9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#20787c",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 182.609,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.07971,
    "h": 199.5
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#20787C
secondary
#AF4D49
accent
#4C46E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E

Preview Lab

Preview with #20787C

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

Preview Lab → · Contrast checker → · Palette generator →

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