#322587#322587

#322587 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.155 H 280.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#322587
RGBrgb(50, 37, 135)
HSLhsl(248, 57%, 34%)
HSVhsv(248, 73%, 53%)
CMYKcmyk(63%, 72.6%, 0%, 47.1%)
CIE-LABlab(22.83, 35.51, -52.69)
CIE-LCHlch(22.83, 63.54, 303.98°)
OKLaboklab(35% 0.0291 -0.1519)
OKLCHoklch(35% 0.155 280.8)
XYZxyz(6.3488, 3.7501, 23.3062)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322587 #7A8725
analogous
#254987 #322587 #632587
triadic
#322587 #873225 #258732
tetradic
#322587 #872549 #7A8725 #258763
square
#322587 #872549 #7A8725 #258763
split-complementary
#322587 #876325 #498725
monochromatic
#0E0B27 #201857 #322587 #4432B7 #6656D1

Accessibility & contrast

On white

12.00
#322587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#322587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322587
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322587#FFFFFF#000000##FFFFFF
##3225871.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322587;
/* rgb */ color: rgb(50, 37, 135);
/* oklch */ color: oklch(35.0% 0.155 280.8);
Tailwind
colors: {
  custom: {
    50: '#7561ab',
    500: '#322587',
    950: '#000000',
  },
}
SCSS
$custom: #322587;
$custom-light: #7561ab;
$custom-dark: #000000;
JSON
{
  "hex": "#322587",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 247.959,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35003,
    "c": 0.15466,
    "h": 280.8
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#322587
secondary
#A8B553
accent
#E048CC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322587

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

Preview Lab → · Contrast checker → · Palette generator →

#322587 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva