#21549D#21549D

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

Color values

HEX#21549D
RGBrgb(33, 84, 157)
HSLhsl(215, 65%, 37%)
HSVhsv(215, 79%, 62%)
CMYKcmyk(79%, 46.5%, 0%, 38.4%)
CIE-LABlab(36.17, 10.23, -44.57)
CIE-LCHlch(36.17, 45.72, 282.93°)
OKLaboklab(45.28% -0.0272 -0.1279)
OKLCHoklch(45.28% 0.131 258)
XYZxyz(9.8811, 9.0971, 33.1269)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21549D #9D6A21
analogous
#21929D #21549D #2C219D
triadic
#21549D #9D2154 #549D21
tetradic
#21549D #9D2192 #9D6A21 #219D2C
square
#21549D #9D2192 #9D6A21 #219D2C
split-complementary
#21549D #9D2C21 #929D21
monochromatic
#0C1E38 #16396A #21549D #2C6FD0 #5C91DD

Accessibility & contrast

On white

7.45
#21549D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21549D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21549D#FFFFFF#000000##FFFFFF
##21549D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21549d;
/* rgb */ color: rgb(33, 84, 157);
/* oklch */ color: oklch(45.3% 0.131 258.0);
Tailwind
colors: {
  custom: {
    50: '#7083ba',
    500: '#21549d',
    950: '#000000',
  },
}
SCSS
$custom: #21549d;
$custom-light: #7083ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21549d",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 215.323,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45278,
    "c": 0.13073,
    "h": 258
  },
  "luminance": 0.09098
}

Semantic roles & 50–950 ramp

primary
#21549D
secondary
#C19659
accent
#A340E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #21549D

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

Preview Lab → · Contrast checker → · Palette generator →

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