#20579C#20579C

#20579C is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.9% C 0.126 H 255.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#20579C
RGBrgb(32, 87, 156)
HSLhsl(213, 66%, 37%)
HSVhsv(213, 79%, 61%)
CMYKcmyk(79.5%, 44.2%, 0%, 38.8%)
CIE-LABlab(36.97, 7.74, -42.68)
CIE-LCHlch(36.97, 43.38, 280.27°)
OKLaboklab(45.87% -0.0306 -0.1223)
OKLCHoklch(45.87% 0.126 255.9)
XYZxyz(10.0024, 9.5226, 32.7569)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20579C #9C6520
analogous
#20959C #20579C #27209C
triadic
#20579C #9C2057 #579C20
tetradic
#20579C #9C2095 #9C6520 #209C27
square
#20579C #9C2095 #9C6520 #209C27
split-complementary
#20579C #9C2720 #959C20
monochromatic
#0B1E36 #163B69 #20579C #2A73CF #5994DD

Accessibility & contrast

On white

7.23
#20579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#20579C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20579C
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20579C#FFFFFF#000000##FFFFFF
##20579C1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9F
Deuteranopia (green-blind)
#1C529B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #20579c;
/* rgb */ color: rgb(32, 87, 156);
/* oklch */ color: oklch(45.9% 0.126 255.9);
Tailwind
colors: {
  custom: {
    50: '#6f85ba',
    500: '#20579c',
    950: '#000000',
  },
}
SCSS
$custom: #20579c;
$custom-light: #6f85ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20579c",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 213.387,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45868,
    "c": 0.12605,
    "h": 255.9
  },
  "luminance": 0.09524
}

Semantic roles & 50–950 ramp

primary
#20579C
secondary
#C19257
accent
#9D3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #20579C

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

Preview Lab → · Contrast checker → · Palette generator →

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