#20549D#20549D

#20549D is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.2% C 0.131 H 257.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#20549D
RGBrgb(32, 84, 157)
HSLhsl(215, 66%, 37%)
HSVhsv(215, 80%, 62%)
CMYKcmyk(79.6%, 46.5%, 0%, 38.4%)
CIE-LABlab(36.14, 10.11, -44.62)
CIE-LCHlch(36.14, 45.75, 282.77°)
OKLaboklab(45.25% -0.0278 -0.128)
OKLCHoklch(45.25% 0.131 257.7)
XYZxyz(9.8496, 9.0809, 33.1254)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20549D #9D6920
analogous
#20939D #20549D #2A209D
triadic
#20549D #9D2054 #549D20
tetradic
#20549D #9D2093 #9D6920 #209D2A
square
#20549D #9D2093 #9D6920 #209D2A
split-complementary
#20549D #9D2A20 #939D20
monochromatic
#0B1E37 #16396A #20549D #2A6FD0 #5A91DD

Accessibility & contrast

On white

7.46
#20549D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#20549D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20549D
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20549D#FFFFFF#000000##FFFFFF
##20549D1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5BA0
Deuteranopia (green-blind)
#0F509C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #20549d;
/* rgb */ color: rgb(32, 84, 157);
/* oklch */ color: oklch(45.2% 0.131 257.7);
Tailwind
colors: {
  custom: {
    50: '#6f83ba',
    500: '#20549d',
    950: '#000000',
  },
}
SCSS
$custom: #20549d;
$custom-light: #6f83ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20549d",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 215.04,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.13101,
    "h": 257.7
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#20549D
secondary
#C19557
accent
#A23FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20549D

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

Preview Lab → · Contrast checker → · Palette generator →

#20549D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva