#322B82#322B82

#322B82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.141 H 280.1°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#322B82
RGBrgb(50, 43, 130)
HSLhsl(245, 50%, 34%)
HSVhsv(245, 67%, 51%)
CMYKcmyk(61.5%, 66.9%, 0%, 49%)
CIE-LABlab(23.73, 30.11, -48.08)
CIE-LCHlch(23.73, 56.73, 302.06°)
OKLaboklab(35.51% 0.0246 -0.1384)
OKLCHoklch(35.51% 0.141 280.1)
XYZxyz(6.2073, 4.0171, 21.5631)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B82 #7B822B
analogous
#2B5082 #322B82 #5E2B82
triadic
#322B82 #82322B #2B8232
tetradic
#322B82 #822B50 #7B822B #2B825E
square
#322B82 #822B50 #7B822B #2B825E
split-complementary
#322B82 #825E2B #50822B
monochromatic
#0F0D26 #201C54 #322B82 #443AB0 #665ECA

Accessibility & contrast

On white

11.64
#322B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#322B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322B82
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B82#FFFFFF#000000##FFFFFF
##322B821.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322b82;
/* rgb */ color: rgb(50, 43, 130);
/* oklch */ color: oklch(35.5% 0.141 280.1);
Tailwind
colors: {
  custom: {
    50: '#7365a7',
    500: '#322b82',
    950: '#000000',
  },
}
SCSS
$custom: #322b82;
$custom-light: #7365a7;
$custom-dark: #000000;
JSON
{
  "hex": "#322b82",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 244.828,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3551,
    "c": 0.14056,
    "h": 280.1
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#322B82
secondary
#A9B059
accent
#DA4ECF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #322B82

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

Preview Lab → · Contrast checker → · Palette generator →

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