#21329A#21329A

#21329A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.169 H 269.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#21329A
RGBrgb(33, 50, 154)
HSLhsl(232, 65%, 37%)
HSVhsv(232, 79%, 60%)
CMYKcmyk(78.6%, 67.5%, 0%, 39.6%)
CIE-LABlab(26.55, 31.97, -58.37)
CIE-LCHlch(26.55, 66.55, 298.71°)
OKLaboklab(37.96% -0.0029 -0.1689)
OKLCHoklch(37.96% 0.169 269)
XYZxyz(7.5985, 4.9368, 31.1180)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21329A #9A8921
analogous
#216F9A #21329A #4D219A
triadic
#21329A #9A2132 #329A21
tetradic
#21329A #9A216F #9A8921 #219A4D
square
#21329A #9A216F #9A8921 #219A4D
split-complementary
#21329A #9A4D21 #6F9A21
monochromatic
#0B1135 #162268 #21329A #2C42CC #5A6CDC

Accessibility & contrast

On white

10.57
#21329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#21329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21329A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21329A#FFFFFF#000000##FFFFFF
##21329A1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #21329a;
/* rgb */ color: rgb(33, 50, 154);
/* oklch */ color: oklch(38.0% 0.169 269.0);
Tailwind
colors: {
  custom: {
    50: '#716ab9',
    500: '#21329a',
    950: '#000000',
  },
}
SCSS
$custom: #21329a;
$custom-light: #716ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#21329a",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 231.57,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37961,
    "c": 0.16896,
    "h": 269
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#21329A
secondary
#C0B157
accent
#D040E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #21329A

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

Preview Lab → · Contrast checker → · Palette generator →

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