#21409B#21409B

#21409B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.153 H 265.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#21409B
RGBrgb(33, 64, 155)
HSLhsl(225, 65%, 37%)
HSVhsv(225, 79%, 61%)
CMYKcmyk(78.7%, 58.7%, 0%, 39.2%)
CIE-LABlab(30.29, 22.96, -52.86)
CIE-LCHlch(30.29, 57.63, 293.47°)
OKLaboklab(40.76% -0.0118 -0.1526)
OKLCHoklch(40.76% 0.153 265.6)
XYZxyz(8.3749, 6.3557, 31.7894)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21409B #9B7C21
analogous
#217D9B #21409B #3F219B
triadic
#21409B #9B2140 #409B21
tetradic
#21409B #9B217D #9B7C21 #219B3F
square
#21409B #9B217D #9B7C21 #219B3F
split-complementary
#21409B #9B3F21 #7D9B21
monochromatic
#0C1636 #162B69 #21409B #2C55CD #5A7BDC

Accessibility & contrast

On white

9.25
#21409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#21409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21409B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21409B#FFFFFF#000000##FFFFFF
##21409B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21409b;
/* rgb */ color: rgb(33, 64, 155);
/* oklch */ color: oklch(40.8% 0.153 265.6);
Tailwind
colors: {
  custom: {
    50: '#7074b9',
    500: '#21409b',
    950: '#000000',
  },
}
SCSS
$custom: #21409b;
$custom-light: #7074b9;
$custom-dark: #000000;
JSON
{
  "hex": "#21409b",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 224.754,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40756,
    "c": 0.1531,
    "h": 265.6
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#21409B
secondary
#C0A658
accent
#BD40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21409B

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

Preview Lab → · Contrast checker → · Palette generator →

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