#21419C#21419C

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

Color values

HEX#21419C
RGBrgb(33, 65, 156)
HSLhsl(224, 65%, 37%)
HSVhsv(224, 79%, 61%)
CMYKcmyk(78.8%, 58.3%, 0%, 38.8%)
CIE-LABlab(30.65, 22.67, -52.89)
CIE-LCHlch(30.65, 57.54, 293.20°)
OKLaboklab(41.05% -0.0124 -0.1527)
OKLCHoklch(41.05% 0.153 265.3)
XYZxyz(8.5161, 6.5033, 32.2525)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21419C #9C7C21
analogous
#217F9C #21419C #3E219C
triadic
#21419C #9C2141 #419C21
tetradic
#21419C #9C217F #9C7C21 #219C3E
square
#21419C #9C217F #9C7C21 #219C3E
split-complementary
#21419C #9C3E21 #7F9C21
monochromatic
#0C1737 #162C69 #21419C #2C56CF #5B7DDC

Accessibility & contrast

On white

9.13
#21419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#21419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21419C
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21419C#FFFFFF#000000##FFFFFF
##21419C1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21419c;
/* rgb */ color: rgb(33, 65, 156);
/* oklch */ color: oklch(41.0% 0.153 265.3);
Tailwind
colors: {
  custom: {
    50: '#7075ba',
    500: '#21419c',
    950: '#000000',
  },
}
SCSS
$custom: #21419c;
$custom-light: #7075ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21419c",
  "rgb": {
    "r": 33,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 224.39,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41048,
    "c": 0.15323,
    "h": 265.3
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21419C

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

Preview Lab → · Contrast checker → · Palette generator →

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