#322AA4#322AA4

#322AA4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.186 H 276.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#322AA4
RGBrgb(50, 42, 164)
HSLhsl(244, 59%, 40%)
HSVhsv(244, 74%, 64%)
CMYKcmyk(69.5%, 74.4%, 0%, 35.7%)
CIE-LABlab(26.77, 42.19, -64.06)
CIE-LCHlch(26.77, 76.70, 303.37°)
OKLaboklab(38.69% 0.0199 -0.1851)
OKLCHoklch(38.69% 0.186 276.1)
XYZxyz(8.8420, 5.0136, 35.6165)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322AA4 #9CA42A
analogous
#2A5FA4 #322AA4 #6F2AA4
triadic
#322AA4 #A4322A #2AA432
tetradic
#322AA4 #A42A5F #9CA42A #2AA46F
square
#322AA4 #A42A5F #9CA42A #2AA46F
split-complementary
#322AA4 #A46F2A #5FA42A
monochromatic
#141143 #231E73 #322AA4 #473ECD #756EDA

Accessibility & contrast

On white

10.49
#322AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#322AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322AA4
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322AA4#FFFFFF#000000##FFFFFF
##322AA41.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #322aa4;
/* rgb */ color: rgb(50, 42, 164);
/* oklch */ color: oklch(38.7% 0.186 276.1);
Tailwind
colors: {
  custom: {
    50: '#7b65c0',
    500: '#322aa4',
    950: '#000000',
  },
}
SCSS
$custom: #322aa4;
$custom-light: #7b65c0;
$custom-dark: #000000;
JSON
{
  "hex": "#322aa4",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 243.934,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38689,
    "c": 0.18619,
    "h": 276.1
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#322AA4
secondary
#BBC169
accent
#E245D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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