#322EA7#322EA7

#322EA7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.186 H 275.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#322EA7
RGBrgb(50, 46, 167)
HSLhsl(242, 57%, 42%)
HSVhsv(242, 72%, 65%)
CMYKcmyk(70.1%, 72.5%, 0%, 34.5%)
CIE-LABlab(27.90, 40.88, -64.01)
CIE-LCHlch(27.90, 75.95, 302.56°)
OKLaboklab(39.58% 0.0169 -0.185)
OKLCHoklch(39.58% 0.186 275.2)
XYZxyz(9.2651, 5.4213, 37.1099)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322EA7 #A3A72E
analogous
#2E67A7 #322EA7 #6E2EA7
triadic
#322EA7 #A7322E #2EA732
tetradic
#322EA7 #A72E67 #A3A72E #2EA76E
square
#322EA7 #A72E67 #A3A72E #2EA76E
split-complementary
#322EA7 #A76E2E #67A72E
monochromatic
#151447 #242177 #322EA7 #4B46CC #7976D9

Accessibility & contrast

On white

10.07
#322EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#322EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322EA7
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322EA7#FFFFFF#000000##FFFFFF
##322EA71.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #322ea7;
/* rgb */ color: rgb(50, 46, 167);
/* oklch */ color: oklch(39.6% 0.186 275.2);
Tailwind
colors: {
  custom: {
    50: '#7b68c2',
    500: '#322ea7',
    950: '#000000',
  },
}
SCSS
$custom: #322ea7;
$custom-light: #7b68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#322ea7",
  "rgb": {
    "r": 50,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 241.983,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39584,
    "c": 0.18578,
    "h": 275.2
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#322EA7
secondary
#BFC170
accent
#E048DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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