#21329B#21329B

#21329B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.170 H 269.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#21329B
RGBrgb(33, 50, 155)
HSLhsl(232, 65%, 37%)
HSVhsv(232, 79%, 61%)
CMYKcmyk(78.7%, 67.7%, 0%, 39.2%)
CIE-LABlab(26.65, 32.35, -58.82)
CIE-LCHlch(26.65, 67.13, 298.81°)
OKLaboklab(38.06% -0.003 -0.1703)
OKLCHoklch(38.06% 0.17 269)
XYZxyz(7.6822, 4.9702, 31.5585)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21329B #9B8A21
analogous
#216F9B #21329B #4D219B
triadic
#21329B #9B2132 #329B21
tetradic
#21329B #9B216F #9B8A21 #219B4D
square
#21329B #9B216F #9B8A21 #219B4D
split-complementary
#21329B #9B4D21 #6F9B21
monochromatic
#0C1136 #162269 #21329B #2C42CD #5A6CDC

Accessibility & contrast

On white

10.53
#21329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21329B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21329B#FFFFFF#000000##FFFFFF
##21329B1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #21329b;
/* rgb */ color: rgb(33, 50, 155);
/* oklch */ color: oklch(38.1% 0.170 269.0);
Tailwind
colors: {
  custom: {
    50: '#716aba',
    500: '#21329b',
    950: '#000000',
  },
}
SCSS
$custom: #21329b;
$custom-light: #716aba;
$custom-dark: #000000;
JSON
{
  "hex": "#21329b",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 231.639,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3806,
    "c": 0.1703,
    "h": 269
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21329B

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

Preview Lab → · Contrast checker → · Palette generator →

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