#322B76#322B76

#322B76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.124 H 281.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#322B76
RGBrgb(50, 43, 118)
HSLhsl(246, 47%, 32%)
HSVhsv(246, 64%, 46%)
CMYKcmyk(57.6%, 63.6%, 0%, 53.7%)
CIE-LABlab(22.70, 25.97, -42.15)
CIE-LCHlch(22.70, 49.51, 301.64°)
OKLaboklab(34.44% 0.0256 -0.121)
OKLCHoklch(34.44% 0.124 281.9)
XYZxyz(5.4483, 3.7135, 17.5657)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B76 #6F762B
analogous
#2B4A76 #322B76 #582B76
triadic
#322B76 #76322B #2B7632
tetradic
#322B76 #762B4A #6F762B #2B7658
square
#322B76 #762B4A #6F762B #2B7658
split-complementary
#322B76 #76582B #4A762B
monochromatic
#0C0A1C #1F1B49 #322B76 #453BA3 #6359C2

Accessibility & contrast

On white

12.05
#322B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#322B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322B76
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B76#FFFFFF#000000##FFFFFF
##322B761.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#113D4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322b76;
/* rgb */ color: rgb(50, 43, 118);
/* oklch */ color: oklch(34.4% 0.124 281.9);
Tailwind
colors: {
  custom: {
    50: '#71649e',
    500: '#322b76',
    950: '#000000',
  },
}
SCSS
$custom: #322b76;
$custom-light: #71649e;
$custom-dark: #000000;
JSON
{
  "hex": "#322b76",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 245.6,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34439,
    "c": 0.12365,
    "h": 281.9
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#322B76
secondary
#A0A855
accent
#D652CA
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #322B76

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

Preview Lab → · Contrast checker → · Palette generator →

#322B76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva