#21429F#21429F

#21429F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.156 H 265.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#21429F
RGBrgb(33, 66, 159)
HSLhsl(224, 66%, 38%)
HSVhsv(224, 79%, 62%)
CMYKcmyk(79.2%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.17, 23.16, -53.87)
CIE-LCHlch(31.17, 58.64, 293.27°)
OKLaboklab(41.51% -0.013 -0.1556)
OKLCHoklch(41.51% 0.156 265.2)
XYZxyz(8.8312, 6.7219, 33.6262)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21429F #9F7E21
analogous
#21819F #21429F #3F219F
triadic
#21429F #9F2142 #429F21
tetradic
#21429F #9F2181 #9F7E21 #219F3F
square
#21429F #9F2181 #9F7E21 #219F3F
split-complementary
#21429F #9F3F21 #819F21
monochromatic
#0C183A #162D6C #21429F #2C57D2 #5D7FDD

Accessibility & contrast

On white

8.96
#21429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#21429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21429F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21429F#FFFFFF#000000##FFFFFF
##21429F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21429f;
/* rgb */ color: rgb(33, 66, 159);
/* oklch */ color: oklch(41.5% 0.156 265.2);
Tailwind
colors: {
  custom: {
    50: '#7175bc',
    500: '#21429f',
    950: '#000000',
  },
}
SCSS
$custom: #21429f;
$custom-light: #7175bc;
$custom-dark: #000000;
JSON
{
  "hex": "#21429f",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 224.286,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41512,
    "c": 0.1561,
    "h": 265.2
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21429F

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

Preview Lab → · Contrast checker → · Palette generator →

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