#322B87#322B87

#322B87 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.147 H 279.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#322B87
RGBrgb(50, 43, 135)
HSLhsl(245, 52%, 35%)
HSVhsv(245, 68%, 53%)
CMYKcmyk(63%, 68.1%, 0%, 47.1%)
CIE-LABlab(24.18, 31.83, -50.48)
CIE-LCHlch(24.18, 59.68, 302.23°)
OKLaboklab(35.97% 0.024 -0.1454)
OKLCHoklch(35.97% 0.147 279.4)
XYZxyz(6.5511, 4.1546, 23.3737)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B87 #80872B
analogous
#2B5287 #322B87 #602B87
triadic
#322B87 #87322B #2B8732
tetradic
#322B87 #872B52 #80872B #2B8760
square
#322B87 #872B52 #80872B #2B8760
split-complementary
#322B87 #87602B #52872B
monochromatic
#100D2A #211C59 #322B87 #433AB5 #6860CC

Accessibility & contrast

On white

11.47
#322B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#322B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322B87
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B87#FFFFFF#000000##FFFFFF
##322B871.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322b87;
/* rgb */ color: rgb(50, 43, 135);
/* oklch */ color: oklch(36.0% 0.147 279.4);
Tailwind
colors: {
  custom: {
    50: '#7465ab',
    500: '#322b87',
    950: '#000000',
  },
}
SCSS
$custom: #322b87;
$custom-light: #7465ab;
$custom-dark: #000000;
JSON
{
  "hex": "#322b87",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 244.565,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35973,
    "c": 0.14741,
    "h": 279.4
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#322B87
secondary
#ACB25B
accent
#DB4DD0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #322B87

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

Preview Lab → · Contrast checker → · Palette generator →

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