#20549E#20549E

#20549E is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.132 H 257.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#20549E
RGBrgb(32, 84, 158)
HSLhsl(215, 66%, 37%)
HSVhsv(215, 80%, 62%)
CMYKcmyk(79.7%, 46.8%, 0%, 38%)
CIE-LABlab(36.21, 10.51, -45.11)
CIE-LCHlch(36.21, 46.32, 283.11°)
OKLaboklab(45.32% -0.0277 -0.1295)
OKLCHoklch(45.32% 0.132 257.9)
XYZxyz(9.9353, 9.1152, 33.5769)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20549E #9E6A20
analogous
#20939E #20549E #2B209E
triadic
#20549E #9E2054 #549E20
tetradic
#20549E #9E2093 #9E6A20 #209E2B
square
#20549E #9E2093 #9E6A20 #209E2B
split-complementary
#20549E #9E2B20 #939E20
monochromatic
#0B1E38 #16396B #20549E #2A6FD1 #5B91DE

Accessibility & contrast

On white

7.44
#20549E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20549E
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20549E#FFFFFF#000000##FFFFFF
##20549E1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA1
Deuteranopia (green-blind)
#0C509D
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #20549e;
/* rgb */ color: rgb(32, 84, 158);
/* oklch */ color: oklch(45.3% 0.132 257.9);
Tailwind
colors: {
  custom: {
    50: '#7083bb',
    500: '#20549e',
    950: '#000000',
  },
}
SCSS
$custom: #20549e;
$custom-light: #7083bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20549e",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 215.238,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45317,
    "c": 0.1324,
    "h": 257.9
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#20549E
secondary
#C29658
accent
#A33FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20549E

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

Preview Lab → · Contrast checker → · Palette generator →

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