#322CA1#322CA1

#322CA1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.180 H 276.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#322CA1
RGBrgb(50, 44, 161)
HSLhsl(243, 57%, 40%)
HSVhsv(243, 73%, 63%)
CMYKcmyk(68.9%, 72.7%, 0%, 36.9%)
CIE-LABlab(26.88, 40.04, -62.06)
CIE-LCHlch(26.88, 73.85, 302.83°)
OKLaboklab(38.67% 0.0192 -0.1793)
OKLCHoklch(38.67% 0.18 276.1)
XYZxyz(8.6470, 5.0519, 34.2307)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322CA1 #9BA12C
analogous
#2C60A1 #322CA1 #6C2CA1
triadic
#322CA1 #A1322C #2CA132
tetradic
#322CA1 #A12C60 #9BA12C #2CA16C
square
#322CA1 #A12C60 #9BA12C #2CA16C
split-complementary
#322CA1 #A16C2C #60A12C
monochromatic
#141241 #231F71 #322CA1 #4740CB #7570D8

Accessibility & contrast

On white

10.44
#322CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322CA1
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322CA1#FFFFFF#000000##FFFFFF
##322CA11.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322ca1;
/* rgb */ color: rgb(50, 44, 161);
/* oklch */ color: oklch(38.7% 0.180 276.1);
Tailwind
colors: {
  custom: {
    50: '#7a67be',
    500: '#322ca1',
    950: '#000000',
  },
}
SCSS
$custom: #322ca1;
$custom-light: #7a67be;
$custom-dark: #000000;
JSON
{
  "hex": "#322ca1",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 243.077,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38675,
    "c": 0.18034,
    "h": 276.1
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#322CA1
secondary
#BBBF6A
accent
#E047D8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #322CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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