#322EA5#322EA5

#322EA5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.183 H 275.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#322EA5
RGBrgb(50, 46, 165)
HSLhsl(242, 56%, 41%)
HSVhsv(242, 72%, 65%)
CMYKcmyk(69.7%, 72.1%, 0%, 35.3%)
CIE-LABlab(27.70, 40.21, -63.13)
CIE-LCHlch(27.70, 74.84, 302.49°)
OKLaboklab(39.38% 0.0173 -0.1824)
OKLCHoklch(39.38% 0.183 275.4)
XYZxyz(9.0817, 5.3479, 36.1437)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322EA5 #A1A52E
analogous
#2E66A5 #322EA5 #6E2EA5
triadic
#322EA5 #A5322E #2EA532
tetradic
#322EA5 #A52E66 #A1A52E #2EA56E
square
#322EA5 #A52E66 #A1A52E #2EA56E
split-complementary
#322EA5 #A56E2E #66A52E
monochromatic
#151345 #232175 #322EA5 #4A45CB #7875D8

Accessibility & contrast

On white

10.15
#322EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#322EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322EA5
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322EA5#FFFFFF#000000##FFFFFF
##322EA51.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322ea5;
/* rgb */ color: rgb(50, 46, 165);
/* oklch */ color: oklch(39.4% 0.183 275.4);
Tailwind
colors: {
  custom: {
    50: '#7b68c1',
    500: '#322ea5',
    950: '#000000',
  },
}
SCSS
$custom: #322ea5;
$custom-light: #7b68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#322ea5",
  "rgb": {
    "r": 50,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 242.017,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.18325,
    "h": 275.4
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#322EA5
secondary
#BEC06F
accent
#E048DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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