#322FA2#322FA2

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

Color values

HEX#322FA2
RGBrgb(50, 47, 162)
HSLhsl(242, 55%, 41%)
HSVhsv(242, 71%, 64%)
CMYKcmyk(69.1%, 71%, 0%, 36.5%)
CIE-LABlab(27.62, 38.60, -61.44)
CIE-LCHlch(27.62, 72.56, 302.14°)
OKLaboklab(39.24% 0.0171 -0.1775)
OKLCHoklch(39.24% 0.178 275.5)
XYZxyz(8.8513, 5.3190, 34.7356)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322FA2 #9FA22F
analogous
#2F65A2 #322FA2 #6B2FA2
triadic
#322FA2 #A2322F #2FA232
tetradic
#322FA2 #A22F65 #9FA22F #2FA26B
square
#322FA2 #A22F65 #9FA22F #2FA26B
split-complementary
#322FA2 #A26B2F #65A22F
monochromatic
#151343 #232173 #322FA2 #4945C9 #7775D7

Accessibility & contrast

On white

10.17
#322FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322FA2
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322FA2#FFFFFF#000000##FFFFFF
##322FA21.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322fa2;
/* rgb */ color: rgb(50, 47, 162);
/* oklch */ color: oklch(39.2% 0.178 275.5);
Tailwind
colors: {
  custom: {
    50: '#7a69bf',
    500: '#322fa2',
    950: '#000000',
  },
}
SCSS
$custom: #322fa2;
$custom-light: #7a69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#322fa2",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 241.565,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39236,
    "c": 0.17834,
    "h": 275.5
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#322FA2
secondary
#BDBF6E
accent
#DE49DA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #322FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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