#20529E#20529E

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

Color values

HEX#20529E
RGBrgb(32, 82, 158)
HSLhsl(216, 66%, 37%)
HSVhsv(216, 80%, 62%)
CMYKcmyk(79.7%, 48.1%, 0%, 38%)
CIE-LABlab(35.61, 11.84, -46.06)
CIE-LCHlch(35.61, 47.56, 284.42°)
OKLaboklab(44.86% -0.026 -0.1323)
OKLCHoklch(44.86% 0.135 258.9)
XYZxyz(9.7823, 8.8091, 33.5259)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20529E #9E6C20
analogous
#20919E #20529E #2D209E
triadic
#20529E #9E2052 #529E20
tetradic
#20529E #9E2091 #9E6C20 #209E2D
square
#20529E #9E2091 #9E6C20 #209E2D
split-complementary
#20529E #9E2D20 #919E20
monochromatic
#0B1D38 #16386B #20529E #2A6CD1 #5B8FDE

Accessibility & contrast

On white

7.60
#20529E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20529E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20529E#FFFFFF#000000##FFFFFF
##20529E1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA1
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #20529e;
/* rgb */ color: rgb(32, 82, 158);
/* oklch */ color: oklch(44.9% 0.135 258.9);
Tailwind
colors: {
  custom: {
    50: '#7082bb',
    500: '#20529e',
    950: '#000000',
  },
}
SCSS
$custom: #20529e;
$custom-light: #7082bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20529e",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 158
  },
  "hsl": {
    "h": 216.19,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44862,
    "c": 0.13485,
    "h": 258.9
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

primary
#20529E
secondary
#C29858
accent
#A63FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20529E

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

Preview Lab → · Contrast checker → · Palette generator →

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