#20788C#20788C

#20788C is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.1% C 0.085 H 216.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#20788C
RGBrgb(32, 120, 140)
HSLhsl(191, 63%, 34%)
HSVhsv(191, 77%, 55%)
CMYKcmyk(77.1%, 14.3%, 0%, 45.1%)
CIE-LABlab(46.49, -18.21, -18.20)
CIE-LCHlch(46.49, 25.75, 225.00°)
OKLaboklab(53.14% -0.068 -0.0508)
OKLCHoklch(53.14% 0.085 216.8)
XYZxyz(12.0438, 15.6320, 27.1884)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20788C #8C3420
analogous
#208C6A #20788C #20428C
triadic
#20788C #8C2078 #788C20
tetradic
#20788C #6A208C #8C3420 #428C20
square
#20788C #6A208C #8C3420 #428C20
split-complementary
#20788C #8C2042 #8C6A20
monochromatic
#092328 #154D5A #20788C #2BA3BE #50BED7

Accessibility & contrast

On white

5.09
#20788C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#20788C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20788C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20788C#FFFFFF#000000##FFFFFF
##20788C1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B748D
Deuteranopia (green-blind)
#5C6A8C
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #20788c;
/* rgb */ color: rgb(32, 120, 140);
/* oklch */ color: oklch(53.1% 0.085 216.8);
Tailwind
colors: {
  custom: {
    50: '#6d9fad',
    500: '#20788c',
    950: '#000000',
  },
}
SCSS
$custom: #20788c;
$custom-light: #6d9fad;
$custom-dark: #000000;
JSON
{
  "hex": "#20788c",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 140
  },
  "hsl": {
    "h": 191.111,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53141,
    "c": 0.0849,
    "h": 216.8
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#20788C
secondary
#BA624E
accent
#6042E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #20788C

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

Preview Lab → · Contrast checker → · Palette generator →

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