#21409C#21409C

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

Color values

HEX#21409C
RGBrgb(33, 64, 156)
HSLhsl(225, 65%, 37%)
HSVhsv(225, 79%, 61%)
CMYKcmyk(78.8%, 59%, 0%, 38.8%)
CIE-LABlab(30.37, 23.35, -53.34)
CIE-LCHlch(30.37, 58.22, 293.64°)
OKLaboklab(40.84% -0.0117 -0.154)
OKLCHoklch(40.84% 0.154 265.6)
XYZxyz(8.4592, 6.3895, 32.2335)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21409C #9C7D21
analogous
#217E9C #21409C #40219C
triadic
#21409C #9C2140 #409C21
tetradic
#21409C #9C217E #9C7D21 #219C40
square
#21409C #9C217E #9C7D21 #219C40
split-complementary
#21409C #9C4021 #7E9C21
monochromatic
#0C1737 #162B69 #21409C #2C55CF #5B7CDC

Accessibility & contrast

On white

9.22
#21409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#21409C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21409C
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21409C#FFFFFF#000000##FFFFFF
##21409C1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21409c;
/* rgb */ color: rgb(33, 64, 156);
/* oklch */ color: oklch(40.8% 0.154 265.6);
Tailwind
colors: {
  custom: {
    50: '#7174ba',
    500: '#21409c',
    950: '#000000',
  },
}
SCSS
$custom: #21409c;
$custom-light: #7174ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21409c",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 224.878,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40843,
    "c": 0.15449,
    "h": 265.6
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#21409C
secondary
#C1A658
accent
#BE40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21409C

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

Preview Lab → · Contrast checker → · Palette generator →

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