#322CA4#322CA4

#322CA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.184 H 275.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#322CA4
RGBrgb(50, 44, 164)
HSLhsl(243, 58%, 41%)
HSVhsv(243, 73%, 64%)
CMYKcmyk(69.5%, 73.2%, 0%, 35.7%)
CIE-LABlab(27.18, 41.04, -63.38)
CIE-LCHlch(27.18, 75.51, 302.92°)
OKLaboklab(38.98% 0.0187 -0.1832)
OKLCHoklch(38.98% 0.184 275.8)
XYZxyz(8.9147, 5.1590, 35.6407)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322CA4 #9EA42C
analogous
#2C62A4 #322CA4 #6E2CA4
triadic
#322CA4 #A4322C #2CA432
tetradic
#322CA4 #A42C62 #9EA42C #2CA46E
square
#322CA4 #A42C62 #9EA42C #2CA46E
split-complementary
#322CA4 #A46E2C #62A42C
monochromatic
#151243 #231F74 #322CA4 #4841CC #7771D9

Accessibility & contrast

On white

10.33
#322CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#322CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322CA4
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322CA4#FFFFFF#000000##FFFFFF
##322CA41.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322ca4;
/* rgb */ color: rgb(50, 44, 164);
/* oklch */ color: oklch(39.0% 0.184 275.8);
Tailwind
colors: {
  custom: {
    50: '#7a67c0',
    500: '#322ca4',
    950: '#000000',
  },
}
SCSS
$custom: #322ca4;
$custom-light: #7a67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#322ca4",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 243,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3898,
    "c": 0.18412,
    "h": 275.8
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#322CA4
secondary
#BCC06B
accent
#E147D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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