#20878B#20878B

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

Color values

HEX#20878B
RGBrgb(32, 135, 139)
HSLhsl(182, 63%, 34%)
HSVhsv(182, 77%, 55%)
CMYKcmyk(77%, 2.9%, 0%, 45.5%)
CIE-LABlab(51.26, -26.39, -10.37)
CIE-LCHlch(51.26, 28.36, 201.46°)
OKLaboklab(56.99% -0.084 -0.0288)
OKLCHoklch(56.99% 0.089 198.9)
XYZxyz(13.9177, 19.4974, 27.4509)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20878B #8B2420
analogous
#208B59 #20878B #20518B
triadic
#20878B #8B2087 #878B20
tetradic
#20878B #59208B #8B2420 #518B20
square
#20878B #59208B #8B2420 #518B20
split-complementary
#20878B #8B2051 #8B5920
monochromatic
#092628 #155759 #20878B #2BB7BD #4FD1D6

Accessibility & contrast

On white

4.29
#20878B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#20878B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20878B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20878B#FFFFFF#000000##000000
##20878B1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20878b;
/* rgb */ color: rgb(32, 135, 139);
/* oklch */ color: oklch(57.0% 0.089 198.9);
Tailwind
colors: {
  custom: {
    50: '#6faaac',
    500: '#20878b',
    950: '#000000',
  },
}
SCSS
$custom: #20878b;
$custom-light: #6faaac;
$custom-dark: #000000;
JSON
{
  "hex": "#20878b",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 139
  },
  "hsl": {
    "h": 182.243,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56988,
    "c": 0.08883,
    "h": 198.9
  },
  "luminance": 0.19499
}

Semantic roles & 50–950 ramp

primary
#20878B
secondary
#BA514D
accent
#4842E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #20878B

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

Preview Lab → · Contrast checker → · Palette generator →

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