#20878E#20878E

#20878E is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.089 H 201.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#20878E
RGBrgb(32, 135, 142)
HSLhsl(184, 63%, 34%)
HSVhsv(184, 77%, 56%)
CMYKcmyk(77.5%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.37, -25.44, -11.97)
CIE-LCHlch(51.37, 28.11, 205.20°)
OKLaboklab(57.11% -0.0827 -0.0333)
OKLCHoklch(57.11% 0.089 201.9)
XYZxyz(14.1399, 19.5863, 28.6212)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20878E #8E2720
analogous
#208E5E #20878E #20508E
triadic
#20878E #8E2087 #878E20
tetradic
#20878E #5E208E #8E2720 #508E20
square
#20878E #5E208E #8E2720 #508E20
split-complementary
#20878E #8E2050 #8E5E20
monochromatic
#09282A #15585C #20878E #2BB6C0 #51CFD8

Accessibility & contrast

On white

4.27
#20878E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#20878E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20878E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20878E#FFFFFF#000000##000000
##20878E1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C818F
Deuteranopia (green-blind)
#6D768E
Tritanopia (blue-blind)
#008D89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #20878e;
/* rgb */ color: rgb(32, 135, 142);
/* oklch */ color: oklch(57.1% 0.089 201.9);
Tailwind
colors: {
  custom: {
    50: '#6faaaf',
    500: '#20878e',
    950: '#000000',
  },
}
SCSS
$custom: #20878e;
$custom-light: #6faaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#20878e",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 183.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57105,
    "c": 0.0891,
    "h": 201.9
  },
  "luminance": 0.19588
}

Semantic roles & 50–950 ramp

primary
#20878E
secondary
#BB564F
accent
#4C42E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #20878E

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

Preview Lab → · Contrast checker → · Palette generator →

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