#20579B#20579B

#20579B is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.8% C 0.125 H 255.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#20579B
RGBrgb(32, 87, 155)
HSLhsl(213, 66%, 37%)
HSVhsv(213, 79%, 61%)
CMYKcmyk(79.4%, 43.9%, 0%, 39.2%)
CIE-LABlab(36.91, 7.34, -42.18)
CIE-LCHlch(36.91, 42.82, 279.87°)
OKLaboklab(45.8% -0.0308 -0.1208)
OKLCHoklch(45.8% 0.125 255.7)
XYZxyz(9.9181, 9.4889, 32.3128)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20579B #9B6420
analogous
#20959B #20579B #27209B
triadic
#20579B #9B2057 #579B20
tetradic
#20579B #9B2095 #9B6420 #209B27
square
#20579B #9B2095 #9B6420 #209B27
split-complementary
#20579B #9B2720 #959B20
monochromatic
#0B1E36 #163B68 #20579B #2A73CE #5994DD

Accessibility & contrast

On white

7.25
#20579B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20579B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20579B#FFFFFF#000000##FFFFFF
##20579B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9E
Deuteranopia (green-blind)
#1D529A
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #20579b;
/* rgb */ color: rgb(32, 87, 155);
/* oklch */ color: oklch(45.8% 0.125 255.7);
Tailwind
colors: {
  custom: {
    50: '#6f85b9',
    500: '#20579b',
    950: '#000000',
  },
}
SCSS
$custom: #20579b;
$custom-light: #6f85b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20579b",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 213.171,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.458,
    "c": 0.12467,
    "h": 255.7
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20579B

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

Preview Lab → · Contrast checker → · Palette generator →

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