#21409F#21409F

#21409F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.159 H 265.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#21409F
RGBrgb(33, 64, 159)
HSLhsl(225, 66%, 38%)
HSVhsv(225, 79%, 62%)
CMYKcmyk(79.2%, 59.7%, 0%, 37.6%)
CIE-LABlab(30.62, 24.52, -54.75)
CIE-LCHlch(30.62, 59.99, 294.12°)
OKLaboklab(41.11% -0.0116 -0.1582)
OKLCHoklch(41.11% 0.159 265.8)
XYZxyz(8.7164, 6.4923, 33.5879)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21409F #9F8021
analogous
#217F9F #21409F #41219F
triadic
#21409F #9F2140 #409F21
tetradic
#21409F #9F217F #9F8021 #219F41
square
#21409F #9F217F #9F8021 #219F41
split-complementary
#21409F #9F4121 #7F9F21
monochromatic
#0C173A #162C6C #21409F #2C54D2 #5D7DDD

Accessibility & contrast

On white

9.14
#21409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#21409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21409F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21409F#FFFFFF#000000##FFFFFF
##21409F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21409f;
/* rgb */ color: rgb(33, 64, 159);
/* oklch */ color: oklch(41.1% 0.159 265.8);
Tailwind
colors: {
  custom: {
    50: '#7174bc',
    500: '#21409f',
    950: '#000000',
  },
}
SCSS
$custom: #21409f;
$custom-light: #7174bc;
$custom-dark: #000000;
JSON
{
  "hex": "#21409f",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 225.238,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41105,
    "c": 0.15862,
    "h": 265.8
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#21409F
secondary
#C2A85A
accent
#BF3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21409F

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

Preview Lab → · Contrast checker → · Palette generator →

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