#20798F#20798F

#20798F is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.5% C 0.087 H 218.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#20798F
RGBrgb(32, 121, 143)
HSLhsl(192, 63%, 34%)
HSVhsv(192, 78%, 56%)
CMYKcmyk(77.6%, 15.4%, 0%, 43.9%)
CIE-LABlab(46.93, -17.72, -19.31)
CIE-LCHlch(46.93, 26.21, 227.45°)
OKLaboklab(53.53% -0.0678 -0.0539)
OKLCHoklch(53.53% 0.087 218.5)
XYZxyz(12.3889, 15.9635, 28.4096)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20798F #8F3620
analogous
#208F6E #20798F #20428F
triadic
#20798F #8F2079 #798F20
tetradic
#20798F #6E208F #8F3620 #428F20
square
#20798F #6E208F #8F3620 #428F20
split-complementary
#20798F #8F2042 #8F6E20
monochromatic
#0A242B #154F5D #20798F #2BA3C1 #51BDD8

Accessibility & contrast

On white

5.01
#20798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#20798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20798F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20798F#FFFFFF#000000##FFFFFF
##20798F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7590
Deuteranopia (green-blind)
#5C6B8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20798f;
/* rgb */ color: rgb(32, 121, 143);
/* oklch */ color: oklch(53.5% 0.087 218.5);
Tailwind
colors: {
  custom: {
    50: '#6ea0af',
    500: '#20798f',
    950: '#000000',
  },
}
SCSS
$custom: #20798f;
$custom-light: #6ea0af;
$custom-dark: #000000;
JSON
{
  "hex": "#20798f",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 191.892,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53533,
    "c": 0.08664,
    "h": 218.5
  },
  "luminance": 0.15965
}

Semantic roles & 50–950 ramp

primary
#20798F
secondary
#BB654F
accent
#6241E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #20798F

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

Preview Lab → · Contrast checker → · Palette generator →

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