#20787E#20787E

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

Color values

HEX#20787E
RGBrgb(32, 120, 126)
HSLhsl(184, 59%, 31%)
HSVhsv(184, 75%, 49%)
CMYKcmyk(74.6%, 4.8%, 0%, 50.6%)
CIE-LABlab(45.97, -22.88, -10.68)
CIE-LCHlch(45.97, 25.25, 205.03°)
OKLaboklab(52.55% -0.0742 -0.0297)
OKLCHoklch(52.55% 0.08 201.8)
XYZxyz(11.0764, 15.2451, 22.0934)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20787E #7E2620
analogous
#207E55 #20787E #20497E
triadic
#20787E #7E2078 #787E20
tetradic
#20787E #55207E #7E2620 #497E20
square
#20787E #55207E #7E2620 #497E20
split-complementary
#20787E #7E2049 #7E5520
monochromatic
#071B1C #144A4D #20787E #2CA6AF #48C8D0

Accessibility & contrast

On white

5.19
#20787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#20787E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20787E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20787E#FFFFFF#000000##FFFFFF
##20787E1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E737E
Deuteranopia (green-blind)
#61697E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #20787e;
/* rgb */ color: rgb(32, 120, 126);
/* oklch */ color: oklch(52.5% 0.080 201.8);
Tailwind
colors: {
  custom: {
    50: '#6c9fa3',
    500: '#20787e',
    950: '#000000',
  },
}
SCSS
$custom: #20787e;
$custom-light: #6c9fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#20787e",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 183.83,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52549,
    "c": 0.0799,
    "h": 201.8
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#20787E
secondary
#B15049
accent
#4F45E3
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #20787E

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

Preview Lab → · Contrast checker → · Palette generator →

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