#21549F#21549F

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

Color values

HEX#21549F
RGBrgb(33, 84, 159)
HSLhsl(216, 66%, 38%)
HSVhsv(216, 79%, 62%)
CMYKcmyk(79.2%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.30, 11.02, -45.56)
CIE-LCHlch(36.30, 46.87, 283.60°)
OKLaboklab(45.42% -0.0269 -0.1308)
OKLCHoklch(45.42% 0.134 258.4)
XYZxyz(10.0532, 9.1660, 34.0335)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21549F #9F6C21
analogous
#21939F #21549F #2D219F
triadic
#21549F #9F2154 #549F21
tetradic
#21549F #9F2193 #9F6C21 #219F2D
square
#21549F #9F2193 #9F6C21 #219F2D
split-complementary
#21549F #9F2D21 #939F21
monochromatic
#0C1E3A #16396C #21549F #2C6FD2 #5D91DD

Accessibility & contrast

On white

7.41
#21549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21549F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21549F#FFFFFF#000000##FFFFFF
##21549F1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21549f;
/* rgb */ color: rgb(33, 84, 159);
/* oklch */ color: oklch(45.4% 0.134 258.4);
Tailwind
colors: {
  custom: {
    50: '#7083bc',
    500: '#21549f',
    950: '#000000',
  },
}
SCSS
$custom: #21549f;
$custom-light: #7083bc;
$custom-dark: #000000;
JSON
{
  "hex": "#21549f",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 215.714,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45422,
    "c": 0.1335,
    "h": 258.4
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#21549F
secondary
#C2985A
accent
#A43FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #21549F

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

Preview Lab → · Contrast checker → · Palette generator →

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