#20539F#20539F

#20539F is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.135 H 258.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#20539F
RGBrgb(32, 83, 159)
HSLhsl(216, 66%, 37%)
HSVhsv(216, 80%, 62%)
CMYKcmyk(79.9%, 47.8%, 0%, 37.6%)
CIE-LABlab(35.98, 11.57, -46.08)
CIE-LCHlch(35.98, 47.51, 284.10°)
OKLaboklab(45.16% -0.0267 -0.1323)
OKLCHoklch(45.16% 0.135 258.6)
XYZxyz(9.9446, 8.9956, 34.0064)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20539F #9F6C20
analogous
#20929F #20539F #2D209F
triadic
#20539F #9F2053 #539F20
tetradic
#20539F #9F2092 #9F6C20 #209F2D
square
#20539F #9F2092 #9F6C20 #209F2D
split-complementary
#20539F #9F2D20 #929F20
monochromatic
#0B1E39 #16386C #20539F #2A6ED2 #5B90DE

Accessibility & contrast

On white

7.50
#20539F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#20539F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20539F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20539F#FFFFFF#000000##FFFFFF
##20539F1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#024F9D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #20539f;
/* rgb */ color: rgb(32, 83, 159);
/* oklch */ color: oklch(45.2% 0.135 258.6);
Tailwind
colors: {
  custom: {
    50: '#7082bc',
    500: '#20539f',
    950: '#000000',
  },
}
SCSS
$custom: #20539f;
$custom-light: #7082bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20539f",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 215.906,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45162,
    "c": 0.13501,
    "h": 258.6
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#20539F
secondary
#C29859
accent
#A53EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20539F

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

Preview Lab → · Contrast checker → · Palette generator →

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