#21549C#21549C

#21549C is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.2% C 0.129 H 257.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#21549C
RGBrgb(33, 84, 156)
HSLhsl(215, 65%, 37%)
HSVhsv(215, 79%, 61%)
CMYKcmyk(78.8%, 46.2%, 0%, 38.8%)
CIE-LABlab(36.11, 9.83, -44.07)
CIE-LCHlch(36.11, 45.15, 282.58°)
OKLaboklab(45.21% -0.0274 -0.1264)
OKLCHoklch(45.21% 0.129 257.8)
XYZxyz(9.7961, 9.0631, 32.6791)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21549C #9C6921
analogous
#21929C #21549C #2C219C
triadic
#21549C #9C2154 #549C21
tetradic
#21549C #9C2192 #9C6921 #219C2C
square
#21549C #9C2192 #9C6921 #219C2C
split-complementary
#21549C #9C2C21 #929C21
monochromatic
#0C1E37 #163969 #21549C #2C6FCF #5B91DC

Accessibility & contrast

On white

7.47
#21549C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#21549C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21549C
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21549C#FFFFFF#000000##FFFFFF
##21549C1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5B9F
Deuteranopia (green-blind)
#12509B
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #21549c;
/* rgb */ color: rgb(33, 84, 156);
/* oklch */ color: oklch(45.2% 0.129 257.8);
Tailwind
colors: {
  custom: {
    50: '#6f83ba',
    500: '#21549c',
    950: '#000000',
  },
}
SCSS
$custom: #21549c;
$custom-light: #6f83ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21549c",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 156
  },
  "hsl": {
    "h": 215.122,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45207,
    "c": 0.12934,
    "h": 257.8
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#21549C
secondary
#C19558
accent
#A240E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #21549C

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

Preview Lab → · Contrast checker → · Palette generator →

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