#20798C#20798C

#20798C is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.4% C 0.085 H 215.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#20798C
RGBrgb(32, 121, 140)
HSLhsl(191, 63%, 34%)
HSVhsv(191, 77%, 55%)
CMYKcmyk(77.1%, 13.6%, 0%, 45.1%)
CIE-LABlab(46.81, -18.75, -17.71)
CIE-LCHlch(46.81, 25.80, 223.37°)
OKLaboklab(53.4% -0.069 -0.0494)
OKLCHoklch(53.4% 0.085 215.6)
XYZxyz(12.1646, 15.8738, 27.2287)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20798C #8C3320
analogous
#208C69 #20798C #20438C
triadic
#20798C #8C2079 #798C20
tetradic
#20798C #69208C #8C3320 #438C20
square
#20798C #69208C #8C3320 #438C20
split-complementary
#20798C #8C2043 #8C6920
monochromatic
#092328 #154E5A #20798C #2BA4BE #50BFD7

Accessibility & contrast

On white

5.03
#20798C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#20798C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20798C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20798C#FFFFFF#000000##FFFFFF
##20798C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758D
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20798c;
/* rgb */ color: rgb(32, 121, 140);
/* oklch */ color: oklch(53.4% 0.085 215.6);
Tailwind
colors: {
  custom: {
    50: '#6ea0ad',
    500: '#20798c',
    950: '#000000',
  },
}
SCSS
$custom: #20798c;
$custom-light: #6ea0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20798c",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 190.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.08492,
    "h": 215.6
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#20798C
secondary
#BA614E
accent
#5F42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #20798C

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

Preview Lab → · Contrast checker → · Palette generator →

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