#322EA2#322EA2

#322EA2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.179 H 275.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#322EA2
RGBrgb(50, 46, 162)
HSLhsl(242, 56%, 41%)
HSVhsv(242, 72%, 64%)
CMYKcmyk(69.1%, 71.6%, 0%, 36.5%)
CIE-LABlab(27.41, 39.20, -61.80)
CIE-LCHlch(27.41, 73.18, 302.38°)
OKLaboklab(39.08% 0.0178 -0.1786)
OKLCHoklch(39.08% 0.179 275.7)
XYZxyz(8.8118, 5.2399, 34.7224)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322EA2 #9EA22E
analogous
#2E64A2 #322EA2 #6C2EA2
triadic
#322EA2 #A2322E #2EA232
tetradic
#322EA2 #A22E64 #9EA22E #2EA26C
square
#322EA2 #A22E64 #9EA22E #2EA26C
split-complementary
#322EA2 #A26C2E #64A22E
monochromatic
#151343 #232072 #322EA2 #4843CA #7773D7

Accessibility & contrast

On white

10.25
#322EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322EA2
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322EA2#FFFFFF#000000##FFFFFF
##322EA21.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322ea2;
/* rgb */ color: rgb(50, 46, 162);
/* oklch */ color: oklch(39.1% 0.179 275.7);
Tailwind
colors: {
  custom: {
    50: '#7a68bf',
    500: '#322ea2',
    950: '#000000',
  },
}
SCSS
$custom: #322ea2;
$custom-light: #7a68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#322ea2",
  "rgb": {
    "r": 50,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 242.069,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39081,
    "c": 0.17944,
    "h": 275.7
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#322EA2
secondary
#BCBF6D
accent
#DF49DA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #322EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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