#20579A#20579A

#20579A is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.7% C 0.123 H 255.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#20579A
RGBrgb(32, 87, 154)
HSLhsl(213, 66%, 36%)
HSVhsv(213, 79%, 60%)
CMYKcmyk(79.2%, 43.5%, 0%, 39.6%)
CIE-LABlab(36.85, 6.94, -41.68)
CIE-LCHlch(36.85, 42.25, 279.46°)
OKLaboklab(45.73% -0.031 -0.1193)
OKLCHoklch(45.73% 0.123 255.4)
XYZxyz(9.8344, 9.4554, 31.8723)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20579A #9A6320
analogous
#20949A #20579A #26209A
triadic
#20579A #9A2057 #579A20
tetradic
#20579A #9A2094 #9A6320 #209A26
square
#20579A #9A2094 #9A6320 #209A26
split-complementary
#20579A #9A2620 #949A20
monochromatic
#0B1E35 #153A67 #20579A #2B74CD #5894DC

Accessibility & contrast

On white

7.26
#20579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#20579A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20579A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20579A#FFFFFF#000000##FFFFFF
##20579A1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9D
Deuteranopia (green-blind)
#1F5299
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #20579a;
/* rgb */ color: rgb(32, 87, 154);
/* oklch */ color: oklch(45.7% 0.123 255.4);
Tailwind
colors: {
  custom: {
    50: '#6f85b8',
    500: '#20579a',
    950: '#000000',
  },
}
SCSS
$custom: #20579a;
$custom-light: #6f85b8;
$custom-dark: #000000;
JSON
{
  "hex": "#20579a",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 212.951,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.12329,
    "h": 255.4
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#20579A
secondary
#C09056
accent
#9C3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #20579A

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

Preview Lab → · Contrast checker → · Palette generator →

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