#21549E#21549E

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

Color values

HEX#21549E
RGBrgb(33, 84, 158)
HSLhsl(216, 65%, 37%)
HSVhsv(216, 79%, 62%)
CMYKcmyk(79.1%, 46.8%, 0%, 38%)
CIE-LABlab(36.24, 10.63, -45.06)
CIE-LCHlch(36.24, 46.30, 283.27°)
OKLaboklab(45.35% -0.027 -0.1293)
OKLCHoklch(45.35% 0.132 258.2)
XYZxyz(9.9668, 9.1314, 33.5784)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21549E #9E6B21
analogous
#21939E #21549E #2D219E
triadic
#21549E #9E2154 #549E21
tetradic
#21549E #9E2193 #9E6B21 #219E2D
square
#21549E #9E2193 #9E6B21 #219E2D
split-complementary
#21549E #9E2D21 #939E21
monochromatic
#0C1E39 #16396B #21549E #2C6FD1 #5C91DD

Accessibility & contrast

On white

7.43
#21549E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#21549E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21549E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21549E#FFFFFF#000000##FFFFFF
##21549E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21549e;
/* rgb */ color: rgb(33, 84, 158);
/* oklch */ color: oklch(45.4% 0.132 258.2);
Tailwind
colors: {
  custom: {
    50: '#7083bb',
    500: '#21549e',
    950: '#000000',
  },
}
SCSS
$custom: #21549e;
$custom-light: #7083bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21549e",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 215.52,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4535,
    "c": 0.13212,
    "h": 258.2
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

primary
#21549E
secondary
#C19759
accent
#A33FE8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #21549E

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

Preview Lab → · Contrast checker → · Palette generator →

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