#322D89#322D89

#322D89 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.148 H 278.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#322D89
RGBrgb(50, 45, 137)
HSLhsl(243, 51%, 36%)
HSVhsv(243, 67%, 54%)
CMYKcmyk(63.5%, 67.2%, 0%, 46.3%)
CIE-LABlab(24.83, 31.25, -50.66)
CIE-LCHlch(24.83, 59.53, 301.67°)
OKLaboklab(36.5% 0.022 -0.146)
OKLCHoklch(36.5% 0.148 278.6)
XYZxyz(6.7677, 4.3605, 24.1471)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322D89 #84892D
analogous
#2D5689 #322D89 #602D89
triadic
#322D89 #89322D #2D8932
tetradic
#322D89 #892D56 #84892D #2D8960
square
#322D89 #892D56 #84892D #2D8960
split-complementary
#322D89 #89602D #56892D
monochromatic
#100F2D #211E5B #322D89 #433CB7 #6A64CC

Accessibility & contrast

On white

11.22
#322D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#322D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322D89
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322D89#FFFFFF#000000##FFFFFF
##322D891.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322d89;
/* rgb */ color: rgb(50, 45, 137);
/* oklch */ color: oklch(36.5% 0.148 278.6);
Tailwind
colors: {
  custom: {
    50: '#7566ac',
    500: '#322d89',
    950: '#000000',
  },
}
SCSS
$custom: #322d89;
$custom-light: #7566ac;
$custom-dark: #000000;
JSON
{
  "hex": "#322d89",
  "rgb": {
    "r": 50,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 243.261,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36503,
    "c": 0.14762,
    "h": 278.6
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#322D89
secondary
#AEB35F
accent
#DA4ED2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #322D89

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

Preview Lab → · Contrast checker → · Palette generator →

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