#21329F#21329F

#21329F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.176 H 268.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#21329F
RGBrgb(33, 50, 159)
HSLhsl(232, 66%, 38%)
HSVhsv(232, 79%, 62%)
CMYKcmyk(79.2%, 68.6%, 0%, 37.6%)
CIE-LABlab(27.04, 33.83, -60.62)
CIE-LCHlch(27.04, 69.43, 299.17°)
OKLaboklab(38.46% -0.0033 -0.1755)
OKLCHoklch(38.46% 0.176 268.9)
XYZxyz(8.0237, 5.1068, 33.3570)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21329F #9F8E21
analogous
#21719F #21329F #4F219F
triadic
#21329F #9F2132 #329F21
tetradic
#21329F #9F2171 #9F8E21 #219F4F
square
#21329F #9F2171 #9F8E21 #219F4F
split-complementary
#21329F #9F4F21 #719F21
monochromatic
#0C123A #16226C #21329F #2C42D2 #5D6EDD

Accessibility & contrast

On white

10.39
#21329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#21329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21329F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21329F#FFFFFF#000000##FFFFFF
##21329F1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #21329f;
/* rgb */ color: rgb(33, 50, 159);
/* oklch */ color: oklch(38.5% 0.176 268.9);
Tailwind
colors: {
  custom: {
    50: '#736abc',
    500: '#21329f',
    950: '#000000',
  },
}
SCSS
$custom: #21329f;
$custom-light: #736abc;
$custom-dark: #000000;
JSON
{
  "hex": "#21329f",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 231.905,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3846,
    "c": 0.17555,
    "h": 268.9
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#21329F
secondary
#C2B45A
accent
#D23FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #21329F

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

Preview Lab → · Contrast checker → · Palette generator →

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