#322FA6#322FA6

#322FA6 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.183 H 275.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#322FA6
RGBrgb(50, 47, 166)
HSLhsl(242, 56%, 42%)
HSVhsv(242, 72%, 65%)
CMYKcmyk(69.9%, 71.7%, 0%, 34.9%)
CIE-LABlab(28.02, 39.95, -63.22)
CIE-LCHlch(28.02, 74.78, 302.29°)
OKLaboklab(39.64% 0.0165 -0.1827)
OKLCHoklch(39.64% 0.183 275.2)
XYZxyz(9.2126, 5.4635, 36.6381)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322FA6 #A3A62F
analogous
#2F67A6 #322FA6 #6E2FA6
triadic
#322FA6 #A6322F #2FA632
tetradic
#322FA6 #A62F67 #A3A62F #2FA66E
square
#322FA6 #A62F67 #A3A62F #2FA66E
split-complementary
#322FA6 #A66E2F #67A62F
monochromatic
#151447 #242176 #322FA6 #4B47CB #7977D8

Accessibility & contrast

On white

10.03
#322FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#322FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322FA6
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322FA6#FFFFFF#000000##FFFFFF
##322FA61.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #322fa6;
/* rgb */ color: rgb(50, 47, 166);
/* oklch */ color: oklch(39.6% 0.183 275.2);
Tailwind
colors: {
  custom: {
    50: '#7b69c2',
    500: '#322fa6',
    950: '#000000',
  },
}
SCSS
$custom: #322fa6;
$custom-light: #7b69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#322fa6",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 241.513,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39635,
    "c": 0.18345,
    "h": 275.2
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#322FA6
secondary
#BFC170
accent
#DF49DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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