#21419B#21419B

#21419B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.152 H 265.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#21419B
RGBrgb(33, 65, 155)
HSLhsl(224, 65%, 37%)
HSVhsv(224, 79%, 61%)
CMYKcmyk(78.7%, 58.1%, 0%, 39.2%)
CIE-LABlab(30.57, 22.27, -52.42)
CIE-LCHlch(30.57, 56.95, 293.02°)
OKLaboklab(40.96% -0.0125 -0.1513)
OKLCHoklch(40.96% 0.152 265.3)
XYZxyz(8.4318, 6.4695, 31.8083)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21419B #9B7B21
analogous
#217E9B #21419B #3E219B
triadic
#21419B #9B2141 #419B21
tetradic
#21419B #9B217E #9B7B21 #219B3E
square
#21419B #9B217E #9B7B21 #219B3E
split-complementary
#21419B #9B3E21 #7E9B21
monochromatic
#0C1736 #162C69 #21419B #2C56CD #5A7CDC

Accessibility & contrast

On white

9.15
#21419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#21419B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21419B
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21419B#FFFFFF#000000##FFFFFF
##21419B1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21419b;
/* rgb */ color: rgb(33, 65, 155);
/* oklch */ color: oklch(41.0% 0.152 265.3);
Tailwind
colors: {
  custom: {
    50: '#7075b9',
    500: '#21419b',
    950: '#000000',
  },
}
SCSS
$custom: #21419b;
$custom-light: #7075b9;
$custom-dark: #000000;
JSON
{
  "hex": "#21419b",
  "rgb": {
    "r": 33,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 224.262,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40962,
    "c": 0.15184,
    "h": 265.3
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#21419B
secondary
#C0A558
accent
#BC40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21419B

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

Preview Lab → · Contrast checker → · Palette generator →

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