#21519B#21519B

#21519B is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.4% C 0.132 H 259.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#21519B
RGBrgb(33, 81, 155)
HSLhsl(216, 65%, 37%)
HSVhsv(216, 79%, 61%)
CMYKcmyk(78.7%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.15, 11.44, -45.00)
CIE-LCHlch(35.15, 46.43, 284.26°)
OKLaboklab(44.45% -0.025 -0.1292)
OKLCHoklch(44.45% 0.132 259)
XYZxyz(9.4839, 8.5736, 32.1590)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21519B #9B6B21
analogous
#218E9B #21519B #2E219B
triadic
#21519B #9B2151 #519B21
tetradic
#21519B #9B218E #9B6B21 #219B2E
square
#21519B #9B218E #9B6B21 #219B2E
split-complementary
#21519B #9B2E21 #8E9B21
monochromatic
#0C1C36 #163769 #21519B #2C6BCD #5A8DDC

Accessibility & contrast

On white

7.73
#21519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#21519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21519B
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21519B#FFFFFF#000000##FFFFFF
##21519B1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#064D9A
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #21519b;
/* rgb */ color: rgb(33, 81, 155);
/* oklch */ color: oklch(44.4% 0.132 259.0);
Tailwind
colors: {
  custom: {
    50: '#6f81b9',
    500: '#21519b',
    950: '#000000',
  },
}
SCSS
$custom: #21519b;
$custom-light: #6f81b9;
$custom-dark: #000000;
JSON
{
  "hex": "#21519b",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 216.393,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44449,
    "c": 0.1316,
    "h": 259
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#21519B
secondary
#C09758
accent
#A640E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #21519B

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

Preview Lab → · Contrast checker → · Palette generator →

#21519B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva