#20798B#20798B

#20798B is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.4% C 0.084 H 214.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#20798B
RGBrgb(32, 121, 139)
HSLhsl(190, 63%, 34%)
HSVhsv(190, 77%, 55%)
CMYKcmyk(77%, 12.9%, 0%, 45.5%)
CIE-LABlab(46.77, -19.09, -17.18)
CIE-LCHlch(46.77, 25.69, 221.98°)
OKLaboklab(53.36% -0.0695 -0.0479)
OKLCHoklch(53.36% 0.084 214.6)
XYZxyz(12.0912, 15.8444, 26.8421)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20798B #8B3220
analogous
#208B67 #20798B #20448B
triadic
#20798B #8B2079 #798B20
tetradic
#20798B #67208B #8B3220 #448B20
square
#20798B #67208B #8B3220 #448B20
split-complementary
#20798B #8B2044 #8B6720
monochromatic
#092228 #154E59 #20798B #2BA4BD #4FC0D6

Accessibility & contrast

On white

5.04
#20798B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#20798B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20798B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20798B#FFFFFF#000000##FFFFFF
##20798B1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20798b;
/* rgb */ color: rgb(32, 121, 139);
/* oklch */ color: oklch(53.4% 0.084 214.6);
Tailwind
colors: {
  custom: {
    50: '#6da0ad',
    500: '#20798b',
    950: '#000000',
  },
}
SCSS
$custom: #20798b;
$custom-light: #6da0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20798b",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 190.093,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.08439,
    "h": 214.6
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#20798B
secondary
#BA5F4D
accent
#5E42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #20798B

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

Preview Lab → · Contrast checker → · Palette generator →

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