#20778B#20778B

#20778B is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 52.8% C 0.084 H 217.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#20778B
RGBrgb(32, 119, 139)
HSLhsl(191, 63%, 34%)
HSVhsv(191, 77%, 55%)
CMYKcmyk(77%, 14.4%, 0%, 45.5%)
CIE-LABlab(46.13, -18.00, -18.16)
CIE-LCHlch(46.13, 25.57, 225.25°)
OKLaboklab(52.84% -0.0674 -0.0507)
OKLCHoklch(52.84% 0.084 217)
XYZxyz(11.8507, 15.3634, 26.7619)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20778B #8B3420
analogous
#208B69 #20778B #20418B
triadic
#20778B #8B2077 #778B20
tetradic
#20778B #69208B #8B3420 #418B20
square
#20778B #69208B #8B3420 #418B20
split-complementary
#20778B #8B2041 #8B6920
monochromatic
#092228 #154C59 #20778B #2BA2BD #4FBDD6

Accessibility & contrast

On white

5.16
#20778B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#20778B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20778B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20778B#FFFFFF#000000##FFFFFF
##20778B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A738C
Deuteranopia (green-blind)
#5B698B
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #20778b;
/* rgb */ color: rgb(32, 119, 139);
/* oklch */ color: oklch(52.8% 0.084 217.0);
Tailwind
colors: {
  custom: {
    50: '#6d9ead',
    500: '#20778b',
    950: '#000000',
  },
}
SCSS
$custom: #20778b;
$custom-light: #6d9ead;
$custom-dark: #000000;
JSON
{
  "hex": "#20778b",
  "rgb": {
    "r": 32,
    "g": 119,
    "b": 139
  },
  "hsl": {
    "h": 191.215,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.08434,
    "h": 217
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#20778B
secondary
#BA614D
accent
#6142E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #20778B

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

Preview Lab → · Contrast checker → · Palette generator →

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