#21429C#21429C

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

Color values

HEX#21429C
RGBrgb(33, 66, 156)
HSLhsl(224, 65%, 37%)
HSVhsv(224, 79%, 61%)
CMYKcmyk(78.8%, 57.7%, 0%, 38.8%)
CIE-LABlab(30.92, 21.99, -52.44)
CIE-LCHlch(30.92, 56.87, 292.74°)
OKLaboklab(41.26% -0.0132 -0.1514)
OKLCHoklch(41.26% 0.152 265)
XYZxyz(8.5740, 6.6191, 32.2718)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21429C #9C7B21
analogous
#21809C #21429C #3D219C
triadic
#21429C #9C2142 #429C21
tetradic
#21429C #9C2180 #9C7B21 #219C3D
square
#21429C #9C2180 #9C7B21 #219C3D
split-complementary
#21429C #9C3D21 #809C21
monochromatic
#0C1737 #162D69 #21429C #2C57CF #5B7EDC

Accessibility & contrast

On white

9.04
#21429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21429C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21429C#FFFFFF#000000##FFFFFF
##21429C1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21429c;
/* rgb */ color: rgb(33, 66, 156);
/* oklch */ color: oklch(41.3% 0.152 265.0);
Tailwind
colors: {
  custom: {
    50: '#7075ba',
    500: '#21429c',
    950: '#000000',
  },
}
SCSS
$custom: #21429c;
$custom-light: #7075ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21429c",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 223.902,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41255,
    "c": 0.15195,
    "h": 265
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21429C

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

Preview Lab → · Contrast checker → · Palette generator →

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