#20529B#20529B

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

Color values

HEX#20529B
RGBrgb(32, 82, 155)
HSLhsl(216, 66%, 37%)
HSVhsv(216, 79%, 61%)
CMYKcmyk(79.4%, 47.1%, 0%, 39.2%)
CIE-LABlab(35.41, 10.65, -44.58)
CIE-LCHlch(35.41, 45.83, 283.44°)
OKLaboklab(44.64% -0.0265 -0.1279)
OKLCHoklch(44.64% 0.131 258.3)
XYZxyz(9.5272, 8.7071, 32.1825)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20529B #9B6920
analogous
#20909B #20529B #2C209B
triadic
#20529B #9B2052 #529B20
tetradic
#20529B #9B2090 #9B6920 #209B2C
square
#20529B #9B2090 #9B6920 #209B2C
split-complementary
#20529B #9B2C20 #909B20
monochromatic
#0B1C36 #163768 #20529B #2A6DCE #598EDD

Accessibility & contrast

On white

7.66
#20529B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#20529B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20529B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20529B#FFFFFF#000000##FFFFFF
##20529B1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599E
Deuteranopia (green-blind)
#0B4E9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #20529b;
/* rgb */ color: rgb(32, 82, 155);
/* oklch */ color: oklch(44.6% 0.131 258.3);
Tailwind
colors: {
  custom: {
    50: '#6f82b9',
    500: '#20529b',
    950: '#000000',
  },
}
SCSS
$custom: #20529b;
$custom-light: #6f82b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20529b",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 215.61,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.13067,
    "h": 258.3
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#20529B
secondary
#C19556
accent
#A43FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #20529B

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

Preview Lab → · Contrast checker → · Palette generator →

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