#20529F#20529F

#20529F is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.136 H 259.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#20529F
RGBrgb(32, 82, 159)
HSLhsl(216, 66%, 37%)
HSVhsv(216, 80%, 62%)
CMYKcmyk(79.9%, 48.4%, 0%, 37.6%)
CIE-LABlab(35.68, 12.24, -46.55)
CIE-LCHlch(35.68, 48.14, 284.73°)
OKLaboklab(44.94% -0.0258 -0.1338)
OKLCHoklch(44.94% 0.136 259.1)
XYZxyz(9.8687, 8.8437, 33.9811)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20529F #9F6D20
analogous
#20919F #20529F #2E209F
triadic
#20529F #9F2052 #529F20
tetradic
#20529F #9F2091 #9F6D20 #209F2E
square
#20529F #9F2091 #9F6D20 #209F2E
split-complementary
#20529F #9F2E20 #919F20
monochromatic
#0B1D39 #16386C #20529F #2A6CD2 #5B8FDE

Accessibility & contrast

On white

7.58
#20529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#20529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20529F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20529F#FFFFFF#000000##FFFFFF
##20529F1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #20529f;
/* rgb */ color: rgb(32, 82, 159);
/* oklch */ color: oklch(44.9% 0.136 259.1);
Tailwind
colors: {
  custom: {
    50: '#7082bc',
    500: '#20529f',
    950: '#000000',
  },
}
SCSS
$custom: #20529f;
$custom-light: #7082bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20529f",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 216.378,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44935,
    "c": 0.13624,
    "h": 259.1
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#20529F
secondary
#C29959
accent
#A63EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20529F

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

Preview Lab → · Contrast checker → · Palette generator →

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