#21509E#21509E

#21509E is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.137 H 260.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#21509E
RGBrgb(33, 80, 158)
HSLhsl(217, 65%, 37%)
HSVhsv(217, 79%, 62%)
CMYKcmyk(79.1%, 49.4%, 0%, 38%)
CIE-LABlab(35.06, 13.29, -46.95)
CIE-LCHlch(35.06, 48.80, 285.81°)
OKLaboklab(44.45% -0.0237 -0.135)
OKLCHoklch(44.45% 0.137 260)
XYZxyz(9.6652, 8.5281, 33.4778)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21509E #9E6F21
analogous
#218F9E #21509E #31219E
triadic
#21509E #9E2150 #509E21
tetradic
#21509E #9E218F #9E6F21 #219E31
square
#21509E #9E218F #9E6F21 #219E31
split-complementary
#21509E #9E3121 #8F9E21
monochromatic
#0C1D39 #16366B #21509E #2C6AD1 #5C8DDD

Accessibility & contrast

On white

7.76
#21509E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#21509E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21509E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21509E#FFFFFF#000000##FFFFFF
##21509E1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2359A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #21509e;
/* rgb */ color: rgb(33, 80, 158);
/* oklch */ color: oklch(44.4% 0.137 260.0);
Tailwind
colors: {
  custom: {
    50: '#7080bb',
    500: '#21509e',
    950: '#000000',
  },
}
SCSS
$custom: #21509e;
$custom-light: #7080bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21509e",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 158
  },
  "hsl": {
    "h": 217.44,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44445,
    "c": 0.13704,
    "h": 260
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#21509E
secondary
#C19A59
accent
#A93FE8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #21509E

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

Preview Lab → · Contrast checker → · Palette generator →

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