#322CA2#322CA2

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

Color values

HEX#322CA2
RGBrgb(50, 44, 162)
HSLhsl(243, 57%, 40%)
HSVhsv(243, 73%, 64%)
CMYKcmyk(69.1%, 72.8%, 0%, 36.5%)
CIE-LABlab(26.98, 40.37, -62.50)
CIE-LCHlch(26.98, 74.41, 302.86°)
OKLaboklab(38.78% 0.019 -0.1806)
OKLCHoklch(38.78% 0.182 276)
XYZxyz(8.7355, 5.0873, 34.6970)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322CA2 #9CA22C
analogous
#2C61A2 #322CA2 #6D2CA2
triadic
#322CA2 #A2322C #2CA232
tetradic
#322CA2 #A22C61 #9CA22C #2CA26D
square
#322CA2 #A22C61 #9CA22C #2CA26D
split-complementary
#322CA2 #A26D2C #61A22C
monochromatic
#141242 #231F72 #322CA2 #4740CB #7570D8

Accessibility & contrast

On white

10.41
#322CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#322CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322CA2
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322CA2#FFFFFF#000000##FFFFFF
##322CA21.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322ca2;
/* rgb */ color: rgb(50, 44, 162);
/* oklch */ color: oklch(38.8% 0.182 276.0);
Tailwind
colors: {
  custom: {
    50: '#7a67bf',
    500: '#322ca2',
    950: '#000000',
  },
}
SCSS
$custom: #322ca2;
$custom-light: #7a67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#322ca2",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 243.051,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38776,
    "c": 0.1816,
    "h": 276
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#322CA2
secondary
#BBBF6A
accent
#E147D9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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