#20539E#20539E

#20539E is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.1% C 0.134 H 258.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#20539E
RGBrgb(32, 83, 158)
HSLhsl(216, 66%, 37%)
HSVhsv(216, 80%, 62%)
CMYKcmyk(79.7%, 47.5%, 0%, 38%)
CIE-LABlab(35.91, 11.18, -45.59)
CIE-LCHlch(35.91, 46.94, 283.77°)
OKLaboklab(45.09% -0.0268 -0.1309)
OKLCHoklch(45.09% 0.134 258.4)
XYZxyz(9.8582, 8.9610, 33.5512)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20539E #9E6B20
analogous
#20929E #20539E #2C209E
triadic
#20539E #9E2053 #539E20
tetradic
#20539E #9E2092 #9E6B20 #209E2C
square
#20539E #9E2092 #9E6B20 #209E2C
split-complementary
#20539E #9E2C20 #929E20
monochromatic
#0B1E38 #16386B #20539E #2A6ED1 #5B90DE

Accessibility & contrast

On white

7.52
#20539E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#20539E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20539E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20539E#FFFFFF#000000##FFFFFF
##20539E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA1
Deuteranopia (green-blind)
#064F9D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #20539e;
/* rgb */ color: rgb(32, 83, 158);
/* oklch */ color: oklch(45.1% 0.134 258.4);
Tailwind
colors: {
  custom: {
    50: '#7082bb',
    500: '#20539e',
    950: '#000000',
  },
}
SCSS
$custom: #20539e;
$custom-light: #7082bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20539e",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 158
  },
  "hsl": {
    "h": 215.714,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.13362,
    "h": 258.4
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#20539E
secondary
#C29758
accent
#A43FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20539E

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

Preview Lab → · Contrast checker → · Palette generator →

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