#322EA4#322EA4

#322EA4 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.182 H 275.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#322EA4
RGBrgb(50, 46, 164)
HSLhsl(242, 56%, 41%)
HSVhsv(242, 72%, 64%)
CMYKcmyk(69.5%, 72%, 0%, 35.7%)
CIE-LABlab(27.60, 39.87, -62.69)
CIE-LCHlch(27.60, 74.29, 302.46°)
OKLaboklab(39.28% 0.0174 -0.1811)
OKLCHoklch(39.28% 0.182 275.5)
XYZxyz(8.9910, 5.3116, 35.6662)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322EA4 #A0A42E
analogous
#2E65A4 #322EA4 #6D2EA4
triadic
#322EA4 #A4322E #2EA432
tetradic
#322EA4 #A42E65 #A0A42E #2EA46D
square
#322EA4 #A42E65 #A0A42E #2EA46D
split-complementary
#322EA4 #A46D2E #65A42E
monochromatic
#151344 #232174 #322EA4 #4945CB #7874D8

Accessibility & contrast

On white

10.18
#322EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#322EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322EA4
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322EA4#FFFFFF#000000##FFFFFF
##322EA41.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322ea4;
/* rgb */ color: rgb(50, 46, 164);
/* oklch */ color: oklch(39.3% 0.182 275.5);
Tailwind
colors: {
  custom: {
    50: '#7a68c0',
    500: '#322ea4',
    950: '#000000',
  },
}
SCSS
$custom: #322ea4;
$custom-light: #7a68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#322ea4",
  "rgb": {
    "r": 50,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 242.034,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.18199,
    "h": 275.5
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#322EA4
secondary
#BDC06E
accent
#DF48DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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