#20579D#20579D

#20579D is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.127 H 256.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#20579D
RGBrgb(32, 87, 157)
HSLhsl(214, 66%, 37%)
HSVhsv(214, 80%, 62%)
CMYKcmyk(79.6%, 44.6%, 0%, 38.4%)
CIE-LABlab(37.03, 8.13, -43.18)
CIE-LCHlch(37.03, 43.94, 280.66°)
OKLaboklab(45.94% -0.0304 -0.1237)
OKLCHoklch(45.94% 0.127 256.2)
XYZxyz(10.0874, 9.5566, 33.2047)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20579D #9D6620
analogous
#20969D #20579D #27209D
triadic
#20579D #9D2057 #579D20
tetradic
#20579D #9D2096 #9D6620 #209D27
square
#20579D #9D2096 #9D6620 #209D27
split-complementary
#20579D #9D2720 #969D20
monochromatic
#0B1F37 #163B6A #20579D #2A73D0 #5A94DD

Accessibility & contrast

On white

7.21
#20579D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#20579D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20579D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20579D#FFFFFF#000000##FFFFFF
##20579D1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335DA0
Deuteranopia (green-blind)
#1A529C
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #20579d;
/* rgb */ color: rgb(32, 87, 157);
/* oklch */ color: oklch(45.9% 0.127 256.2);
Tailwind
colors: {
  custom: {
    50: '#6f85ba',
    500: '#20579d',
    950: '#000000',
  },
}
SCSS
$custom: #20579d;
$custom-light: #6f85ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20579d",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 213.6,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45938,
    "c": 0.12742,
    "h": 256.2
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#20579D
secondary
#C19357
accent
#9E3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #20579D

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

Preview Lab → · Contrast checker → · Palette generator →

#20579D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva