#20879F#20879F

#20879F is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 57.8% C 0.095 H 217.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#20879F
RGBrgb(32, 135, 159)
HSLhsl(191, 66%, 37%)
HSVhsv(191, 80%, 62%)
CMYKcmyk(79.9%, 15.1%, 0%, 37.6%)
CIE-LABlab(51.99, -19.81, -20.90)
CIE-LCHlch(51.99, 28.79, 226.53°)
OKLaboklab(57.82% -0.0753 -0.0584)
OKLCHoklch(57.82% 0.095 217.8)
XYZxyz(15.5150, 20.1363, 35.8632)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20879F #9F3820
analogous
#209F78 #20879F #20479F
triadic
#20879F #9F2087 #879F20
tetradic
#20879F #78209F #9F3820 #479F20
square
#20879F #78209F #9F3820 #479F20
split-complementary
#20879F #9F2047 #9F7820
monochromatic
#0B3039 #165C6C #20879F #2AB2D2 #5BC5DE

Accessibility & contrast

On white

4.18
#20879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#20879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20879F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20879F#FFFFFF#000000##000000
##20879F1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A0
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #20879f;
/* rgb */ color: rgb(32, 135, 159);
/* oklch */ color: oklch(57.8% 0.095 217.8);
Tailwind
colors: {
  custom: {
    50: '#72aabb',
    500: '#20879f',
    950: '#000000',
  },
}
SCSS
$custom: #20879f;
$custom-light: #72aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#20879f",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 191.339,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.09532,
    "h": 217.8
  },
  "luminance": 0.20138
}

Semantic roles & 50–950 ramp

primary
#20879F
secondary
#C26D59
accent
#5F3EE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #20879F

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

Preview Lab → · Contrast checker → · Palette generator →

#20879F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva