#322FA1#322FA1

#322FA1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.177 H 275.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#322FA1
RGBrgb(50, 47, 161)
HSLhsl(242, 55%, 41%)
HSVhsv(242, 71%, 63%)
CMYKcmyk(68.9%, 70.8%, 0%, 36.9%)
CIE-LABlab(27.53, 38.26, -61.00)
CIE-LCHlch(27.53, 72.00, 302.10°)
OKLaboklab(39.14% 0.0173 -0.1762)
OKLCHoklch(39.14% 0.177 275.6)
XYZxyz(8.7628, 5.2836, 34.2693)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322FA1 #9EA12F
analogous
#2F65A1 #322FA1 #6B2FA1
triadic
#322FA1 #A1322F #2FA132
tetradic
#322FA1 #A12F65 #9EA12F #2FA16B
square
#322FA1 #A12F65 #9EA12F #2FA16B
split-complementary
#322FA1 #A16B2F #65A12F
monochromatic
#151342 #232172 #322FA1 #4845C9 #7774D6

Accessibility & contrast

On white

10.21
#322FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#322FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322FA1
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322FA1#FFFFFF#000000##FFFFFF
##322FA11.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322fa1;
/* rgb */ color: rgb(50, 47, 161);
/* oklch */ color: oklch(39.1% 0.177 275.6);
Tailwind
colors: {
  custom: {
    50: '#7a68be',
    500: '#322fa1',
    950: '#000000',
  },
}
SCSS
$custom: #322fa1;
$custom-light: #7a68be;
$custom-dark: #000000;
JSON
{
  "hex": "#322fa1",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 241.579,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39137,
    "c": 0.17706,
    "h": 275.6
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#322FA1
secondary
#BCBE6E
accent
#DE4ADA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #322FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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