#322DA4#322DA4

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

Color values

HEX#322DA4
RGBrgb(50, 45, 164)
HSLhsl(243, 57%, 41%)
HSVhsv(243, 73%, 64%)
CMYKcmyk(69.5%, 72.6%, 0%, 35.7%)
CIE-LABlab(27.39, 40.46, -63.04)
CIE-LCHlch(27.39, 74.90, 302.69°)
OKLaboklab(39.13% 0.0181 -0.1822)
OKLCHoklch(39.13% 0.183 275.7)
XYZxyz(8.9524, 5.2344, 35.6533)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322DA4 #9FA42D
analogous
#2D63A4 #322DA4 #6D2DA4
triadic
#322DA4 #A4322D #2DA432
tetradic
#322DA4 #A42D63 #9FA42D #2DA46D
square
#322DA4 #A42D63 #9FA42D #2DA46D
split-complementary
#322DA4 #A46D2D #63A42D
monochromatic
#151344 #232074 #322DA4 #4943CB #7773D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##322DA4#FFFFFF#000000##FFFFFF
##322DA41.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)
#0046A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322da4;
/* rgb */ color: rgb(50, 45, 164);
/* oklch */ color: oklch(39.1% 0.183 275.7);
Tailwind
colors: {
  custom: {
    50: '#7a67c0',
    500: '#322da4',
    950: '#000000',
  },
}
SCSS
$custom: #322da4;
$custom-light: #7a67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#322da4",
  "rgb": {
    "r": 50,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 242.521,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39129,
    "c": 0.18306,
    "h": 275.7
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#322DA4
secondary
#BDC06D
accent
#E048DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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