#322CA6#322CA6

#322CA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.187 H 275.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#322CA6
RGBrgb(50, 44, 166)
HSLhsl(243, 58%, 41%)
HSVhsv(243, 73%, 65%)
CMYKcmyk(69.9%, 73.5%, 0%, 34.9%)
CIE-LABlab(27.39, 41.70, -64.26)
CIE-LCHlch(27.39, 76.61, 302.98°)
OKLaboklab(39.18% 0.0183 -0.1857)
OKLCHoklch(39.18% 0.187 275.6)
XYZxyz(9.0967, 5.2318, 36.5994)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322CA6 #A0A62C
analogous
#2C63A6 #322CA6 #6F2CA6
triadic
#322CA6 #A6322C #2CA632
tetradic
#322CA6 #A62C63 #A0A62C #2CA66F
square
#322CA6 #A62C63 #A0A62C #2CA66F
split-complementary
#322CA6 #A66F2C #63A62C
monochromatic
#151245 #231F76 #322CA6 #4942CD #7873DA

Accessibility & contrast

On white

10.26
#322CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#322CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322CA6
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322CA6#FFFFFF#000000##FFFFFF
##322CA61.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322ca6;
/* rgb */ color: rgb(50, 44, 166);
/* oklch */ color: oklch(39.2% 0.187 275.6);
Tailwind
colors: {
  custom: {
    50: '#7b67c2',
    500: '#322ca6',
    950: '#000000',
  },
}
SCSS
$custom: #322ca6;
$custom-light: #7b67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#322ca6",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 242.951,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39185,
    "c": 0.18663,
    "h": 275.6
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#322CA6
secondary
#BDC16D
accent
#E146DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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