#21419A#21419A

#21419A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.150 H 265.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#21419A
RGBrgb(33, 65, 154)
HSLhsl(224, 65%, 37%)
HSVhsv(224, 79%, 60%)
CMYKcmyk(78.6%, 57.8%, 0%, 39.6%)
CIE-LABlab(30.49, 21.88, -51.94)
CIE-LCHlch(30.49, 56.36, 292.84°)
OKLaboklab(40.88% -0.0126 -0.1499)
OKLCHoklch(40.88% 0.15 265.2)
XYZxyz(8.3482, 6.4361, 31.3679)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21419A #9A7A21
analogous
#217E9A #21419A #3E219A
triadic
#21419A #9A2141 #419A21
tetradic
#21419A #9A217E #9A7A21 #219A3E
square
#21419A #9A217E #9A7A21 #219A3E
split-complementary
#21419A #9A3E21 #7E9A21
monochromatic
#0B1635 #162C68 #21419A #2C56CC #5A7CDC

Accessibility & contrast

On white

9.18
#21419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21419A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21419A#FFFFFF#000000##FFFFFF
##21419A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21419a;
/* rgb */ color: rgb(33, 65, 154);
/* oklch */ color: oklch(40.9% 0.150 265.2);
Tailwind
colors: {
  custom: {
    50: '#7075b8',
    500: '#21419a',
    950: '#000000',
  },
}
SCSS
$custom: #21419a;
$custom-light: #7075b8;
$custom-dark: #000000;
JSON
{
  "hex": "#21419a",
  "rgb": {
    "r": 33,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 224.132,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40876,
    "c": 0.15045,
    "h": 265.2
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#21419A
secondary
#C0A457
accent
#BB40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #21419A

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

Preview Lab → · Contrast checker → · Palette generator →

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