#21429B#21429B

#21429B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.151 H 265.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#21429B
RGBrgb(33, 66, 155)
HSLhsl(224, 65%, 37%)
HSVhsv(224, 79%, 61%)
CMYKcmyk(78.7%, 57.4%, 0%, 39.2%)
CIE-LABlab(30.84, 21.59, -51.97)
CIE-LCHlch(30.84, 56.27, 292.56°)
OKLaboklab(41.17% -0.0132 -0.15)
OKLCHoklch(41.17% 0.151 265)
XYZxyz(8.4897, 6.5854, 31.8277)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21429B #9B7A21
analogous
#217F9B #21429B #3D219B
triadic
#21429B #9B2142 #429B21
tetradic
#21429B #9B217F #9B7A21 #219B3D
square
#21429B #9B217F #9B7A21 #219B3D
split-complementary
#21429B #9B3D21 #7F9B21
monochromatic
#0C1736 #162D69 #21429B #2C57CD #5A7DDC

Accessibility & contrast

On white

9.06
#21429B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#21429B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21429B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21429B#FFFFFF#000000##FFFFFF
##21429B1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21429b;
/* rgb */ color: rgb(33, 66, 155);
/* oklch */ color: oklch(41.2% 0.151 265.0);
Tailwind
colors: {
  custom: {
    50: '#7075b9',
    500: '#21429b',
    950: '#000000',
  },
}
SCSS
$custom: #21429b;
$custom-light: #7075b9;
$custom-dark: #000000;
JSON
{
  "hex": "#21429b",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 223.77,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4117,
    "c": 0.15056,
    "h": 265
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#21429B
secondary
#C0A458
accent
#BA40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #21429B

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

Preview Lab → · Contrast checker → · Palette generator →

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