#322AA5#322AA5

#322AA5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.187 H 276.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#322AA5
RGBrgb(50, 42, 165)
HSLhsl(244, 59%, 41%)
HSVhsv(244, 75%, 65%)
CMYKcmyk(69.7%, 74.5%, 0%, 35.3%)
CIE-LABlab(26.88, 42.52, -64.49)
CIE-LCHlch(26.88, 77.25, 303.39°)
OKLaboklab(38.79% 0.0196 -0.1864)
OKLCHoklch(38.79% 0.187 276)
XYZxyz(8.9327, 5.0498, 36.0940)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322AA5 #9DA52A
analogous
#2A60A5 #322AA5 #6F2AA5
triadic
#322AA5 #A5322A #2AA532
tetradic
#322AA5 #A52A60 #9DA52A #2AA56F
square
#322AA5 #A52A60 #9DA52A #2AA56F
split-complementary
#322AA5 #A56F2A #60A52A
monochromatic
#141143 #231E74 #322AA5 #483ECE #766FDA

Accessibility & contrast

On white

10.45
#322AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#322AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322AA5
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322AA5#FFFFFF#000000##FFFFFF
##322AA51.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322aa5;
/* rgb */ color: rgb(50, 42, 165);
/* oklch */ color: oklch(38.8% 0.187 276.0);
Tailwind
colors: {
  custom: {
    50: '#7b65c1',
    500: '#322aa5',
    950: '#000000',
  },
}
SCSS
$custom: #322aa5;
$custom-light: #7b65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#322aa5",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 243.902,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38793,
    "c": 0.18743,
    "h": 276
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#322AA5
secondary
#BCC169
accent
#E345D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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