#21409A#21409A

#21409A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.152 H 265.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#21409A
RGBrgb(33, 64, 154)
HSLhsl(225, 65%, 37%)
HSVhsv(225, 79%, 60%)
CMYKcmyk(78.6%, 58.4%, 0%, 39.6%)
CIE-LABlab(30.21, 22.56, -52.39)
CIE-LCHlch(30.21, 57.04, 293.30°)
OKLaboklab(40.67% -0.0118 -0.1512)
OKLCHoklch(40.67% 0.152 265.5)
XYZxyz(8.2913, 6.3223, 31.3489)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21409A #9A7B21
analogous
#217D9A #21409A #3F219A
triadic
#21409A #9A2140 #409A21
tetradic
#21409A #9A217D #9A7B21 #219A3F
square
#21409A #9A217D #9A7B21 #219A3F
split-complementary
#21409A #9A3F21 #7D9A21
monochromatic
#0B1635 #162B68 #21409A #2C55CC #5A7BDC

Accessibility & contrast

On white

9.27
#21409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#21409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21409A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21409A#FFFFFF#000000##FFFFFF
##21409A1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21409a;
/* rgb */ color: rgb(33, 64, 154);
/* oklch */ color: oklch(40.7% 0.152 265.5);
Tailwind
colors: {
  custom: {
    50: '#7074b8',
    500: '#21409a',
    950: '#000000',
  },
}
SCSS
$custom: #21409a;
$custom-light: #7074b8;
$custom-dark: #000000;
JSON
{
  "hex": "#21409a",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 224.628,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40669,
    "c": 0.15171,
    "h": 265.5
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#21409A
secondary
#C0A557
accent
#BD40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #21409A

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

Preview Lab → · Contrast checker → · Palette generator →

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