#322687#322687

#322687 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.153 H 280.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#322687
RGBrgb(50, 38, 135)
HSLhsl(247, 56%, 34%)
HSVhsv(247, 72%, 53%)
CMYKcmyk(63%, 71.9%, 0%, 47.1%)
CIE-LABlab(23.04, 34.91, -52.34)
CIE-LCHlch(23.04, 62.92, 303.71°)
OKLaboklab(35.16% 0.0283 -0.1509)
OKLCHoklch(35.16% 0.154 280.6)
XYZxyz(6.3803, 3.8131, 23.3168)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322687 #7B8726
analogous
#264B87 #322687 #632687
triadic
#322687 #873226 #268732
tetradic
#322687 #87264B #7B8726 #268763
square
#322687 #87264B #7B8726 #268763
split-complementary
#322687 #876326 #4B8726
monochromatic
#0F0B27 #201957 #322687 #4433B7 #6658D0

Accessibility & contrast

On white

11.91
#322687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#322687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322687
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322687#FFFFFF#000000##FFFFFF
##3226871.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322687;
/* rgb */ color: rgb(50, 38, 135);
/* oklch */ color: oklch(35.2% 0.153 280.6);
Tailwind
colors: {
  custom: {
    50: '#7562ab',
    500: '#322687',
    950: '#000000',
  },
}
SCSS
$custom: #322687;
$custom-light: #7562ab;
$custom-dark: #000000;
JSON
{
  "hex": "#322687",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 247.423,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35158,
    "c": 0.1535,
    "h": 280.6
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#322687
secondary
#A9B554
accent
#DF48CD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322687

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

Preview Lab → · Contrast checker → · Palette generator →

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