#20549F#20549F

#20549F is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.4% C 0.134 H 258.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#20549F
RGBrgb(32, 84, 159)
HSLhsl(215, 66%, 37%)
HSVhsv(215, 80%, 62%)
CMYKcmyk(79.9%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.27, 10.91, -45.61)
CIE-LCHlch(36.27, 46.89, 283.45°)
OKLaboklab(45.39% -0.0275 -0.1309)
OKLCHoklch(45.39% 0.134 258.1)
XYZxyz(10.0217, 9.1497, 34.0321)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20549F #9F6B20
analogous
#20949F #20549F #2B209F
triadic
#20549F #9F2054 #549F20
tetradic
#20549F #9F2094 #9F6B20 #209F2B
square
#20549F #9F2094 #9F6B20 #209F2B
split-complementary
#20549F #9F2B20 #949F20
monochromatic
#0B1E39 #16396C #20549F #2A6FD2 #5B91DE

Accessibility & contrast

On white

7.42
#20549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#20549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20549F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20549F#FFFFFF#000000##FFFFFF
##20549F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA2
Deuteranopia (green-blind)
#08509E
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #20549f;
/* rgb */ color: rgb(32, 84, 159);
/* oklch */ color: oklch(45.4% 0.134 258.1);
Tailwind
colors: {
  custom: {
    50: '#7083bc',
    500: '#20549f',
    950: '#000000',
  },
}
SCSS
$custom: #20549f;
$custom-light: #7083bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20549f",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 215.433,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45389,
    "c": 0.13378,
    "h": 258.1
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#20549F
secondary
#C29759
accent
#A33EE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20549F

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

Preview Lab → · Contrast checker → · Palette generator →

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