#20529C#20529C

#20529C is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.132 H 258.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#20529C
RGBrgb(32, 82, 156)
HSLhsl(216, 66%, 37%)
HSVhsv(216, 79%, 61%)
CMYKcmyk(79.5%, 47.4%, 0%, 38.8%)
CIE-LABlab(35.48, 11.05, -45.08)
CIE-LCHlch(35.48, 46.41, 283.77°)
OKLaboklab(44.72% -0.0263 -0.1294)
OKLCHoklch(44.72% 0.132 258.5)
XYZxyz(9.6115, 8.7408, 32.6266)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20529C #9C6A20
analogous
#20909C #20529C #2C209C
triadic
#20529C #9C2052 #529C20
tetradic
#20529C #9C2090 #9C6A20 #209C2C
square
#20529C #9C2090 #9C6A20 #209C2C
split-complementary
#20529C #9C2C20 #909C20
monochromatic
#0B1D36 #163769 #20529C #2A6DCF #598EDD

Accessibility & contrast

On white

7.64
#20529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#20529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20529C
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20529C#FFFFFF#000000##FFFFFF
##20529C1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599F
Deuteranopia (green-blind)
#074E9B
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #20529c;
/* rgb */ color: rgb(32, 82, 156);
/* oklch */ color: oklch(44.7% 0.132 258.5);
Tailwind
colors: {
  custom: {
    50: '#6f82ba',
    500: '#20529c',
    950: '#000000',
  },
}
SCSS
$custom: #20529c;
$custom-light: #6f82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20529c",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 215.806,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44716,
    "c": 0.13207,
    "h": 258.5
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#20529C
secondary
#C19657
accent
#A43FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #20529C

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

Preview Lab → · Contrast checker → · Palette generator →

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