#20799F#20799F

#20799F is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.099 H 231.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#20799F
RGBrgb(32, 121, 159)
HSLhsl(198, 66%, 37%)
HSVhsv(198, 80%, 62%)
CMYKcmyk(79.9%, 23.9%, 0%, 37.6%)
CIE-LABlab(47.60, -12.06, -27.68)
CIE-LCHlch(47.60, 30.19, 246.45°)
OKLaboklab(54.3% -0.0615 -0.0779)
OKLCHoklch(54.3% 0.099 231.7)
XYZxyz(13.6885, 16.4833, 35.2543)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20799F #9F4620
analogous
#209F86 #20799F #20399F
triadic
#20799F #9F2079 #799F20
tetradic
#20799F #86209F #9F4620 #399F20
square
#20799F #86209F #9F4620 #399F20
split-complementary
#20799F #9F2039 #9F8620
monochromatic
#0B2B39 #16526C #20799F #2AA0D2 #5BB7DE

Accessibility & contrast

On white

4.89
#20799F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#20799F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20799F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20799F#FFFFFF#000000##FFFFFF
##20799F1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A1
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #20799f;
/* rgb */ color: rgb(32, 121, 159);
/* oklch */ color: oklch(54.3% 0.099 231.7);
Tailwind
colors: {
  custom: {
    50: '#719fbb',
    500: '#20799f',
    950: '#000000',
  },
}
SCSS
$custom: #20799f;
$custom-light: #719fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#20799f",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 197.953,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54298,
    "c": 0.0993,
    "h": 231.7
  },
  "luminance": 0.16485
}

Semantic roles & 50–950 ramp

primary
#20799F
secondary
#C27859
accent
#723EE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #20799F

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

Preview Lab → · Contrast checker → · Palette generator →

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