#322AB4#322AB4

#322AB4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.206 H 274.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#322AB4
RGBrgb(50, 42, 180)
HSLhsl(243, 62%, 44%)
HSVhsv(243, 77%, 71%)
CMYKcmyk(72.2%, 76.7%, 0%, 29.4%)
CIE-LABlab(28.45, 47.37, -70.89)
CIE-LCHlch(28.45, 85.26, 303.75°)
OKLaboklab(40.38% 0.0165 -0.205)
OKLCHoklch(40.38% 0.206 274.6)
XYZxyz(10.3788, 5.6283, 43.7106)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322AB4 #ACB42A
analogous
#2A67B4 #322AB4 #772AB4
triadic
#322AB4 #B4322A #2AB432
tetradic
#322AB4 #B42A67 #ACB42A #2AB477
square
#322AB4 #B42A67 #ACB42A #2AB477
split-complementary
#322AB4 #B4772A #67B42A
monochromatic
#161351 #241E82 #322AB4 #4F47D4 #7F79E0

Accessibility & contrast

On white

9.88
#322AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#322AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322AB4
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322AB4#FFFFFF#000000##FFFFFF
##322AB41.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #322ab4;
/* rgb */ color: rgb(50, 42, 180);
/* oklch */ color: oklch(40.4% 0.206 274.6);
Tailwind
colors: {
  custom: {
    50: '#7e66cc',
    500: '#322ab4',
    950: '#000000',
  },
}
SCSS
$custom: #322ab4;
$custom-light: #7e66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#322ab4",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 243.478,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40377,
    "c": 0.2057,
    "h": 274.6
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#322AB4
secondary
#C3C872
accent
#E543DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #322AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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