#21329C#21329C

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

Color values

HEX#21329C
RGBrgb(33, 50, 156)
HSLhsl(232, 65%, 37%)
HSVhsv(232, 79%, 61%)
CMYKcmyk(78.8%, 67.9%, 0%, 38.8%)
CIE-LABlab(26.75, 32.72, -59.28)
CIE-LCHlch(26.75, 67.71, 298.90°)
OKLaboklab(38.16% -0.0031 -0.1716)
OKLCHoklch(38.16% 0.172 269)
XYZxyz(7.7665, 5.0040, 32.0026)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21329C #9C8B21
analogous
#21709C #21329C #4D219C
triadic
#21329C #9C2132 #329C21
tetradic
#21329C #9C2170 #9C8B21 #219C4D
square
#21329C #9C2170 #9C8B21 #219C4D
split-complementary
#21329C #9C4D21 #709C21
monochromatic
#0C1237 #162269 #21329C #2C42CF #5B6DDC

Accessibility & contrast

On white

10.49
#21329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#21329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21329C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21329C#FFFFFF#000000##FFFFFF
##21329C1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #21329c;
/* rgb */ color: rgb(33, 50, 156);
/* oklch */ color: oklch(38.2% 0.172 269.0);
Tailwind
colors: {
  custom: {
    50: '#726aba',
    500: '#21329c',
    950: '#000000',
  },
}
SCSS
$custom: #21329c;
$custom-light: #726aba;
$custom-dark: #000000;
JSON
{
  "hex": "#21329c",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 231.707,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38159,
    "c": 0.17162,
    "h": 269
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#21329C
secondary
#C1B258
accent
#D140E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #21329C

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

Preview Lab → · Contrast checker → · Palette generator →

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