#20878C#20878C

#20878C is a mid, moderate teal. Relative luminance 0.195; OKLCH L 57.0% C 0.089 H 199.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#20878C
RGBrgb(32, 135, 140)
HSLhsl(183, 63%, 34%)
HSVhsv(183, 77%, 55%)
CMYKcmyk(77.1%, 3.6%, 0%, 45.1%)
CIE-LABlab(51.30, -26.07, -10.91)
CIE-LCHlch(51.30, 28.26, 202.70°)
OKLaboklab(57.03% -0.0836 -0.0303)
OKLCHoklch(57.03% 0.089 199.9)
XYZxyz(13.9911, 19.5268, 27.8375)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20878C #8C2520
analogous
#208C5B #20878C #20518C
triadic
#20878C #8C2087 #878C20
tetradic
#20878C #5B208C #8C2520 #518C20
square
#20878C #5B208C #8C2520 #518C20
split-complementary
#20878C #8C2051 #8C5B20
monochromatic
#092728 #15575A #20878C #2BB7BE #50D1D7

Accessibility & contrast

On white

4.28
#20878C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#20878C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20878C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20878C#FFFFFF#000000##000000
##20878C1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818C
Deuteranopia (green-blind)
#6D758D
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #20878c;
/* rgb */ color: rgb(32, 135, 140);
/* oklch */ color: oklch(57.0% 0.089 199.9);
Tailwind
colors: {
  custom: {
    50: '#6faaad',
    500: '#20878c',
    950: '#000000',
  },
}
SCSS
$custom: #20878c;
$custom-light: #6faaad;
$custom-dark: #000000;
JSON
{
  "hex": "#20878c",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 140
  },
  "hsl": {
    "h": 182.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57027,
    "c": 0.08889,
    "h": 199.9
  },
  "luminance": 0.19528
}

Semantic roles & 50–950 ramp

primary
#20878C
secondary
#BA534E
accent
#4A42E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #20878C

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

Preview Lab → · Contrast checker → · Palette generator →

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