#322AB7#322AB7

#322AB7 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.209 H 274.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#322AB7
RGBrgb(50, 42, 183)
HSLhsl(243, 63%, 44%)
HSVhsv(243, 77%, 72%)
CMYKcmyk(72.7%, 77%, 0%, 28.2%)
CIE-LABlab(28.78, 48.33, -72.14)
CIE-LCHlch(28.78, 86.83, 303.82°)
OKLaboklab(40.7% 0.0158 -0.2087)
OKLCHoklch(40.7% 0.209 274.3)
XYZxyz(10.6878, 5.7519, 45.3375)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322AB7 #AFB72A
analogous
#2A69B7 #322AB7 #792AB7
triadic
#322AB7 #B7322A #2AB732
tetradic
#322AB7 #B72A69 #AFB72A #2AB779
square
#322AB7 #B72A69 #AFB72A #2AB779
split-complementary
#322AB7 #B7792A #69B72A
monochromatic
#171353 #241F85 #322AB7 #5149D5 #817BE1

Accessibility & contrast

On white

9.76
#322AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#322AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322AB7
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322AB7#FFFFFF#000000##FFFFFF
##322AB71.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003DB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #322ab7;
/* rgb */ color: rgb(50, 42, 183);
/* oklch */ color: oklch(40.7% 0.209 274.3);
Tailwind
colors: {
  custom: {
    50: '#7f66ce',
    500: '#322ab7',
    950: '#000000',
  },
}
SCSS
$custom: #322ab7;
$custom-light: #7f66ce;
$custom-dark: #000000;
JSON
{
  "hex": "#322ab7",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 243.404,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40699,
    "c": 0.20927,
    "h": 274.3
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#322AB7
secondary
#C4C974
accent
#E642DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #322AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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