#21509A#21509A

#21509A is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.1% C 0.131 H 259.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#21509A
RGBrgb(33, 80, 154)
HSLhsl(217, 65%, 37%)
HSVhsv(217, 79%, 60%)
CMYKcmyk(78.6%, 48.1%, 0%, 39.6%)
CIE-LABlab(34.79, 11.71, -44.98)
CIE-LCHlch(34.79, 46.48, 284.59°)
OKLaboklab(44.15% -0.0244 -0.1292)
OKLCHoklch(44.15% 0.131 259.3)
XYZxyz(9.3265, 8.3927, 31.6940)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21509A #9A6B21
analogous
#218D9A #21509A #2E219A
triadic
#21509A #9A2150 #509A21
tetradic
#21509A #9A218D #9A6B21 #219A2E
square
#21509A #9A218D #9A6B21 #219A2E
split-complementary
#21509A #9A2E21 #8D9A21
monochromatic
#0B1C35 #163668 #21509A #2C6ACC #5A8CDC

Accessibility & contrast

On white

7.84
#21509A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#21509A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21509A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21509A#FFFFFF#000000##FFFFFF
##21509A1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#034D99
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #21509a;
/* rgb */ color: rgb(33, 80, 154);
/* oklch */ color: oklch(44.1% 0.131 259.3);
Tailwind
colors: {
  custom: {
    50: '#6f80b8',
    500: '#21509a',
    950: '#000000',
  },
}
SCSS
$custom: #21509a;
$custom-light: #6f80b8;
$custom-dark: #000000;
JSON
{
  "hex": "#21509a",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 154
  },
  "hsl": {
    "h": 216.694,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44149,
    "c": 0.13144,
    "h": 259.3
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#21509A
secondary
#C09757
accent
#A740E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #21509A

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

Preview Lab → · Contrast checker → · Palette generator →

#21509A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva