#21439B#21439B

#21439B is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.149 H 264.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#21439B
RGBrgb(33, 67, 155)
HSLhsl(223, 65%, 37%)
HSVhsv(223, 79%, 61%)
CMYKcmyk(78.7%, 56.8%, 0%, 39.2%)
CIE-LABlab(31.12, 20.91, -51.52)
CIE-LCHlch(31.12, 55.60, 292.09°)
OKLaboklab(41.38% -0.0139 -0.1486)
OKLCHoklch(41.38% 0.149 264.6)
XYZxyz(8.5487, 6.7032, 31.8473)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21439B #9B7921
analogous
#21809B #21439B #3C219B
triadic
#21439B #9B2143 #439B21
tetradic
#21439B #9B2180 #9B7921 #219B3C
square
#21439B #9B2180 #9B7921 #219B3C
split-complementary
#21439B #9B3C21 #809B21
monochromatic
#0C1736 #162D69 #21439B #2C59CD #5A7FDC

Accessibility & contrast

On white

8.97
#21439B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#21439B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21439B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21439B#FFFFFF#000000##FFFFFF
##21439B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21439b;
/* rgb */ color: rgb(33, 67, 155);
/* oklch */ color: oklch(41.4% 0.149 264.6);
Tailwind
colors: {
  custom: {
    50: '#7076b9',
    500: '#21439b',
    950: '#000000',
  },
}
SCSS
$custom: #21439b;
$custom-light: #7076b9;
$custom-dark: #000000;
JSON
{
  "hex": "#21439b",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 155
  },
  "hsl": {
    "h": 223.279,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.14929,
    "h": 264.6
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#21439B
secondary
#C0A358
accent
#B940E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21439B

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

Preview Lab → · Contrast checker → · Palette generator →

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