#20539B#20539B

#20539B is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.129 H 257.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#20539B
RGBrgb(32, 83, 155)
HSLhsl(215, 66%, 37%)
HSVhsv(215, 79%, 61%)
CMYKcmyk(79.4%, 46.5%, 0%, 39.2%)
CIE-LABlab(35.71, 9.98, -44.10)
CIE-LCHlch(35.71, 45.22, 282.76°)
OKLaboklab(44.87% -0.0274 -0.1265)
OKLCHoklch(44.87% 0.129 257.8)
XYZxyz(9.6031, 8.8590, 32.2078)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20539B #9B6820
analogous
#20919B #20539B #2B209B
triadic
#20539B #9B2053 #539B20
tetradic
#20539B #9B2091 #9B6820 #209B2B
square
#20539B #9B2091 #9B6820 #209B2B
split-complementary
#20539B #9B2B20 #919B20
monochromatic
#0B1D36 #163868 #20539B #2A6ECE #598FDD

Accessibility & contrast

On white

7.58
#20539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#20539B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20539B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20539B#FFFFFF#000000##FFFFFF
##20539B1.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)
#2D5A9E
Deuteranopia (green-blind)
#104F9A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #20539b;
/* rgb */ color: rgb(32, 83, 155);
/* oklch */ color: oklch(44.9% 0.129 257.8);
Tailwind
colors: {
  custom: {
    50: '#6f82b9',
    500: '#20539b',
    950: '#000000',
  },
}
SCSS
$custom: #20539b;
$custom-light: #6f82b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20539b",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 215.122,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44873,
    "c": 0.12946,
    "h": 257.8
  },
  "luminance": 0.0886
}

Semantic roles & 50–950 ramp

primary
#20539B
secondary
#C19456
accent
#A23FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #20539B

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

Preview Lab → · Contrast checker → · Palette generator →

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