#322EAB#322EAB

#322EAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.191 H 274.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#322EAB
RGBrgb(50, 46, 171)
HSLhsl(242, 58%, 43%)
HSVhsv(242, 73%, 67%)
CMYKcmyk(70.8%, 73.1%, 0%, 32.9%)
CIE-LABlab(28.30, 42.21, -65.75)
CIE-LCHlch(28.30, 78.14, 302.70°)
OKLaboklab(39.99% 0.0162 -0.1901)
OKLCHoklch(39.99% 0.191 274.9)
XYZxyz(9.6406, 5.5715, 39.0875)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322EAB #A7AB2E
analogous
#2E68AB #322EAB #702EAB
triadic
#322EAB #AB322E #2EAB32
tetradic
#322EAB #AB2E68 #A7AB2E #2EAB70
square
#322EAB #AB2E68 #A7AB2E #2EAB70
split-complementary
#322EAB #AB702E #68AB2E
monochromatic
#16144B #24217B #322EAB #4D48CE #7C79DB

Accessibility & contrast

On white

9.93
#322EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#322EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322EAB
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322EAB#FFFFFF#000000##FFFFFF
##322EAB1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #322eab;
/* rgb */ color: rgb(50, 46, 171);
/* oklch */ color: oklch(40.0% 0.191 274.9);
Tailwind
colors: {
  custom: {
    50: '#7c68c5',
    500: '#322eab',
    950: '#000000',
  },
}
SCSS
$custom: #322eab;
$custom-light: #7c68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#322eab",
  "rgb": {
    "r": 50,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 241.92,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39991,
    "c": 0.1908,
    "h": 274.9
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#322EAB
secondary
#C0C372
accent
#E147DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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