#21419F#21419F

#21419F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.157 H 265.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#21419F
RGBrgb(33, 65, 159)
HSLhsl(225, 66%, 38%)
HSVhsv(225, 79%, 62%)
CMYKcmyk(79.2%, 59.1%, 0%, 37.6%)
CIE-LABlab(30.89, 23.84, -54.31)
CIE-LCHlch(30.89, 59.31, 293.70°)
OKLaboklab(41.31% -0.0123 -0.1569)
OKLCHoklch(41.31% 0.157 265.5)
XYZxyz(8.7733, 6.6061, 33.6069)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21419F #9F7F21
analogous
#21809F #21419F #40219F
triadic
#21419F #9F2141 #419F21
tetradic
#21419F #9F2180 #9F7F21 #219F40
square
#21419F #9F2180 #9F7F21 #219F40
split-complementary
#21419F #9F4021 #809F21
monochromatic
#0C183A #162C6C #21419F #2C56D2 #5D7EDD

Accessibility & contrast

On white

9.05
#21419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#21419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21419F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21419F#FFFFFF#000000##FFFFFF
##21419F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21419f;
/* rgb */ color: rgb(33, 65, 159);
/* oklch */ color: oklch(41.3% 0.157 265.5);
Tailwind
colors: {
  custom: {
    50: '#7175bc',
    500: '#21419f',
    950: '#000000',
  },
}
SCSS
$custom: #21419f;
$custom-light: #7175bc;
$custom-dark: #000000;
JSON
{
  "hex": "#21419f",
  "rgb": {
    "r": 33,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 224.762,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.15736,
    "h": 265.5
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#21419F
secondary
#C2A75A
accent
#BE3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21419F

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

Preview Lab → · Contrast checker → · Palette generator →

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