#21429A#21429A

#21429A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.149 H 264.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#21429A
RGBrgb(33, 66, 154)
HSLhsl(224, 65%, 37%)
HSVhsv(224, 79%, 60%)
CMYKcmyk(78.6%, 57.1%, 0%, 39.6%)
CIE-LABlab(30.76, 21.20, -51.49)
CIE-LCHlch(30.76, 55.68, 292.38°)
OKLaboklab(41.09% -0.0133 -0.1486)
OKLCHoklch(41.09% 0.149 264.9)
XYZxyz(8.4061, 6.5519, 31.3872)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21429A #9A7921
analogous
#217F9A #21429A #3C219A
triadic
#21429A #9A2142 #429A21
tetradic
#21429A #9A217F #9A7921 #219A3C
square
#21429A #9A217F #9A7921 #219A3C
split-complementary
#21429A #9A3C21 #7F9A21
monochromatic
#0B1735 #162C68 #21429A #2C58CC #5A7DDC

Accessibility & contrast

On white

9.09
#21429A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#21429A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21429A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21429A#FFFFFF#000000##FFFFFF
##21429A1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21429a;
/* rgb */ color: rgb(33, 66, 154);
/* oklch */ color: oklch(41.1% 0.149 264.9);
Tailwind
colors: {
  custom: {
    50: '#7075b8',
    500: '#21429a',
    950: '#000000',
  },
}
SCSS
$custom: #21429a;
$custom-light: #7075b8;
$custom-dark: #000000;
JSON
{
  "hex": "#21429a",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 154
  },
  "hsl": {
    "h": 223.636,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41085,
    "c": 0.14917,
    "h": 264.9
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#21429A
secondary
#C0A357
accent
#BA40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #21429A

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

Preview Lab → · Contrast checker → · Palette generator →

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