#322B84#322B84

#322B84 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.143 H 279.8°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#322B84
RGBrgb(50, 43, 132)
HSLhsl(245, 51%, 34%)
HSVhsv(245, 67%, 52%)
CMYKcmyk(62.1%, 67.4%, 0%, 48.2%)
CIE-LABlab(23.91, 30.80, -49.05)
CIE-LCHlch(23.91, 57.92, 302.13°)
OKLaboklab(35.69% 0.0244 -0.1412)
OKLCHoklch(35.69% 0.143 279.8)
XYZxyz(6.3428, 4.0713, 22.2769)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B84 #7D842B
analogous
#2B5184 #322B84 #5F2B84
triadic
#322B84 #84322B #2B8432
tetradic
#322B84 #842B51 #7D842B #2B845F
square
#322B84 #842B51 #7D842B #2B845F
split-complementary
#322B84 #845F2B #51842B
monochromatic
#0F0D28 #211C56 #322B84 #433AB2 #675FCB

Accessibility & contrast

On white

11.57
#322B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#322B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322B84
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B84#FFFFFF#000000##FFFFFF
##322B841.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322b84;
/* rgb */ color: rgb(50, 43, 132);
/* oklch */ color: oklch(35.7% 0.143 279.8);
Tailwind
colors: {
  custom: {
    50: '#7465a9',
    500: '#322b84',
    950: '#000000',
  },
}
SCSS
$custom: #322b84;
$custom-light: #7465a9;
$custom-dark: #000000;
JSON
{
  "hex": "#322b84",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 244.719,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35694,
    "c": 0.14332,
    "h": 279.8
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#322B84
secondary
#AAB15A
accent
#DA4DCF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #322B84

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

Preview Lab → · Contrast checker → · Palette generator →

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