#21419D#21419D

#21419D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.155 H 265.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#21419D
RGBrgb(33, 65, 157)
HSLhsl(225, 65%, 37%)
HSVhsv(225, 79%, 62%)
CMYKcmyk(79%, 58.6%, 0%, 38.4%)
CIE-LABlab(30.73, 23.06, -53.37)
CIE-LCHlch(30.73, 58.14, 293.37°)
OKLaboklab(41.13% -0.0124 -0.1541)
OKLCHoklch(41.13% 0.155 265.4)
XYZxyz(8.6012, 6.5373, 32.7003)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21419D #9D7D21
analogous
#217F9D #21419D #3F219D
triadic
#21419D #9D2141 #419D21
tetradic
#21419D #9D217F #9D7D21 #219D3F
square
#21419D #9D217F #9D7D21 #219D3F
split-complementary
#21419D #9D3F21 #7F9D21
monochromatic
#0C1738 #162C6A #21419D #2C56D0 #5C7DDD

Accessibility & contrast

On white

9.10
#21419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#21419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21419D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21419D#FFFFFF#000000##FFFFFF
##21419D1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21419d;
/* rgb */ color: rgb(33, 65, 157);
/* oklch */ color: oklch(41.1% 0.155 265.4);
Tailwind
colors: {
  custom: {
    50: '#7175bb',
    500: '#21419d',
    950: '#000000',
  },
}
SCSS
$custom: #21419d;
$custom-light: #7175bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21419d",
  "rgb": {
    "r": 33,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 224.516,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41134,
    "c": 0.15461,
    "h": 265.4
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#21419D
secondary
#C1A659
accent
#BD40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21419D

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

Preview Lab → · Contrast checker → · Palette generator →

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