#21429D#21429D

#21429D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.153 H 265.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#21429D
RGBrgb(33, 66, 157)
HSLhsl(224, 65%, 37%)
HSVhsv(224, 79%, 62%)
CMYKcmyk(79%, 58%, 0%, 38.4%)
CIE-LABlab(31.00, 22.38, -52.92)
CIE-LCHlch(31.00, 57.46, 292.92°)
OKLaboklab(41.34% -0.0131 -0.1528)
OKLCHoklch(41.34% 0.153 265.1)
XYZxyz(8.6591, 6.6531, 32.7196)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21429D #9D7C21
analogous
#21809D #21429D #3E219D
triadic
#21429D #9D2142 #429D21
tetradic
#21429D #9D2180 #9D7C21 #219D3E
square
#21429D #9D2180 #9D7C21 #219D3E
split-complementary
#21429D #9D3E21 #809D21
monochromatic
#0C1738 #162D6A #21429D #2C57D0 #5C7EDD

Accessibility & contrast

On white

9.01
#21429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#21429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21429D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21429D#FFFFFF#000000##FFFFFF
##21429D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21429d;
/* rgb */ color: rgb(33, 66, 157);
/* oklch */ color: oklch(41.3% 0.153 265.1);
Tailwind
colors: {
  custom: {
    50: '#7175bb',
    500: '#21429d',
    950: '#000000',
  },
}
SCSS
$custom: #21429d;
$custom-light: #7175bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21429d",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 224.032,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.15334,
    "h": 265.1
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#21429D
secondary
#C1A559
accent
#BB40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21429D

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

Preview Lab → · Contrast checker → · Palette generator →

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