#20529A#20529A

#20529A is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.129 H 258.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#20529A
RGBrgb(32, 82, 154)
HSLhsl(215, 66%, 36%)
HSVhsv(215, 79%, 60%)
CMYKcmyk(79.2%, 46.8%, 0%, 39.6%)
CIE-LABlab(35.35, 10.25, -44.08)
CIE-LCHlch(35.35, 45.26, 283.09°)
OKLaboklab(44.57% -0.0267 -0.1265)
OKLCHoklch(44.57% 0.129 258.1)
XYZxyz(9.4436, 8.6737, 31.7421)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20529A #9A6820
analogous
#208F9A #20529A #2B209A
triadic
#20529A #9A2052 #529A20
tetradic
#20529A #9A208F #9A6820 #209A2B
square
#20529A #9A208F #9A6820 #209A2B
split-complementary
#20529A #9A2B20 #8F9A20
monochromatic
#0B1C35 #153767 #20529A #2B6DCD #588EDC

Accessibility & contrast

On white

7.68
#20529A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#20529A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20529A
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20529A#FFFFFF#000000##FFFFFF
##20529A1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599D
Deuteranopia (green-blind)
#0E4E99
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #20529a;
/* rgb */ color: rgb(32, 82, 154);
/* oklch */ color: oklch(44.6% 0.129 258.1);
Tailwind
colors: {
  custom: {
    50: '#6f82b8',
    500: '#20529a',
    950: '#000000',
  },
}
SCSS
$custom: #20529a;
$custom-light: #6f82b8;
$custom-dark: #000000;
JSON
{
  "hex": "#20529a",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 215.41,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44571,
    "c": 0.12928,
    "h": 258.1
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#20529A
secondary
#C09556
accent
#A33FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #20529A

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

Preview Lab → · Contrast checker → · Palette generator →

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