#20579E#20579E

#20579E is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 46.0% C 0.129 H 256.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#20579E
RGBrgb(32, 87, 158)
HSLhsl(214, 66%, 37%)
HSVhsv(214, 80%, 62%)
CMYKcmyk(79.7%, 44.9%, 0%, 38%)
CIE-LABlab(37.10, 8.53, -43.68)
CIE-LCHlch(37.10, 44.50, 281.05°)
OKLaboklab(46.01% -0.0302 -0.1252)
OKLCHoklch(46.01% 0.129 256.4)
XYZxyz(10.1731, 9.5909, 33.6562)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20579E #9E6720
analogous
#20969E #20579E #28209E
triadic
#20579E #9E2057 #579E20
tetradic
#20579E #9E2096 #9E6720 #209E28
square
#20579E #9E2096 #9E6720 #209E28
split-complementary
#20579E #9E2820 #969E20
monochromatic
#0B1F38 #163B6B #20579E #2A73D1 #5B94DE

Accessibility & contrast

On white

7.20
#20579E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#20579E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20579E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20579E#FFFFFF#000000##FFFFFF
##20579E1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA1
Deuteranopia (green-blind)
#18529D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #20579e;
/* rgb */ color: rgb(32, 87, 158);
/* oklch */ color: oklch(46.0% 0.129 256.4);
Tailwind
colors: {
  custom: {
    50: '#7085bb',
    500: '#20579e',
    950: '#000000',
  },
}
SCSS
$custom: #20579e;
$custom-light: #7085bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20579e",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 213.81,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46007,
    "c": 0.12879,
    "h": 256.4
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#20579E
secondary
#C29458
accent
#9F3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #20579E

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

Preview Lab → · Contrast checker → · Palette generator →

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