#21439E#21439E

#21439E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.153 H 264.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#21439E
RGBrgb(33, 67, 158)
HSLhsl(224, 65%, 37%)
HSVhsv(224, 79%, 62%)
CMYKcmyk(79.1%, 57.6%, 0%, 38%)
CIE-LABlab(31.36, 22.09, -52.95)
CIE-LCHlch(31.36, 57.37, 292.65°)
OKLaboklab(41.63% -0.0138 -0.1528)
OKLCHoklch(41.63% 0.153 264.9)
XYZxyz(8.8037, 6.8053, 33.1907)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21439E #9E7C21
analogous
#21829E #21439E #3E219E
triadic
#21439E #9E2143 #439E21
tetradic
#21439E #9E2182 #9E7C21 #219E3E
square
#21439E #9E2182 #9E7C21 #219E3E
split-complementary
#21439E #9E3E21 #829E21
monochromatic
#0C1839 #162E6B #21439E #2C58D1 #5C7FDD

Accessibility & contrast

On white

8.89
#21439E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#21439E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21439E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21439E#FFFFFF#000000##FFFFFF
##21439E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #21439e;
/* rgb */ color: rgb(33, 67, 158);
/* oklch */ color: oklch(41.6% 0.153 264.9);
Tailwind
colors: {
  custom: {
    50: '#7176bb',
    500: '#21439e',
    950: '#000000',
  },
}
SCSS
$custom: #21439e;
$custom-light: #7176bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21439e",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 223.68,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.15346,
    "h": 264.9
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#21439E
secondary
#C1A559
accent
#BA3FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21439E

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

Preview Lab → · Contrast checker → · Palette generator →

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