#20529D#20529D

#20529D is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.133 H 258.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#20529D
RGBrgb(32, 82, 157)
HSLhsl(216, 66%, 37%)
HSVhsv(216, 80%, 62%)
CMYKcmyk(79.6%, 47.8%, 0%, 38.4%)
CIE-LABlab(35.55, 11.44, -45.57)
CIE-LCHlch(35.55, 46.98, 284.10°)
OKLaboklab(44.79% -0.0262 -0.1309)
OKLCHoklch(44.79% 0.133 258.7)
XYZxyz(9.6965, 8.7748, 33.0744)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20529D #9D6B20
analogous
#20919D #20529D #2C209D
triadic
#20529D #9D2052 #529D20
tetradic
#20529D #9D2091 #9D6B20 #209D2C
square
#20529D #9D2091 #9D6B20 #209D2C
split-complementary
#20529D #9D2C20 #919D20
monochromatic
#0B1D37 #16376A #20529D #2A6DD0 #5A8FDD

Accessibility & contrast

On white

7.62
#20529D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#20529D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20529D
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20529D#FFFFFF#000000##FFFFFF
##20529D1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#034E9C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #20529d;
/* rgb */ color: rgb(32, 82, 157);
/* oklch */ color: oklch(44.8% 0.133 258.7);
Tailwind
colors: {
  custom: {
    50: '#6f82ba',
    500: '#20529d',
    950: '#000000',
  },
}
SCSS
$custom: #20529d;
$custom-light: #6f82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20529d",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 216,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44789,
    "c": 0.13346,
    "h": 258.7
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#20529D
secondary
#C19757
accent
#A53FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20529D

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

Preview Lab → · Contrast checker → · Palette generator →

#20529D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva