#20539C#20539C

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

Color values

HEX#20539C
RGBrgb(32, 83, 156)
HSLhsl(215, 66%, 37%)
HSVhsv(215, 79%, 61%)
CMYKcmyk(79.5%, 46.8%, 0%, 38.8%)
CIE-LABlab(35.78, 10.38, -44.60)
CIE-LCHlch(35.78, 45.79, 283.10°)
OKLaboklab(44.94% -0.0272 -0.128)
OKLCHoklch(44.94% 0.131 258)
XYZxyz(9.6875, 8.8927, 32.6519)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20539C #9C6920
analogous
#20919C #20539C #2B209C
triadic
#20539C #9C2053 #539C20
tetradic
#20539C #9C2091 #9C6920 #209C2B
square
#20539C #9C2091 #9C6920 #209C2B
split-complementary
#20539C #9C2B20 #919C20
monochromatic
#0B1D36 #163869 #20539C #2A6ECF #5990DD

Accessibility & contrast

On white

7.56
#20539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#20539C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20539C
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20539C#FFFFFF#000000##FFFFFF
##20539C1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#0D4F9B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #20539c;
/* rgb */ color: rgb(32, 83, 156);
/* oklch */ color: oklch(44.9% 0.131 258.0);
Tailwind
colors: {
  custom: {
    50: '#6f82ba',
    500: '#20539c',
    950: '#000000',
  },
}
SCSS
$custom: #20539c;
$custom-light: #6f82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20539c",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 215.323,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.13085,
    "h": 258
  },
  "luminance": 0.08894
}

Semantic roles & 50–950 ramp

primary
#20539C
secondary
#C19557
accent
#A33FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #20539C

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

Preview Lab → · Contrast checker → · Palette generator →

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