#322487#322487

#322487 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.156 H 281.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#322487
RGBrgb(50, 36, 135)
HSLhsl(248, 58%, 34%)
HSVhsv(248, 73%, 53%)
CMYKcmyk(63%, 73.3%, 0%, 47.1%)
CIE-LABlab(22.61, 36.10, -53.04)
CIE-LCHlch(22.61, 64.16, 304.24°)
OKLaboklab(34.85% 0.0298 -0.1529)
OKLCHoklch(34.85% 0.156 281)
XYZxyz(6.3181, 3.6887, 23.2960)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322487 #798724
analogous
#244787 #322487 #632487
triadic
#322487 #873224 #248732
tetradic
#322487 #872447 #798724 #248763
square
#322487 #872447 #798724 #248763
split-complementary
#322487 #876324 #478724
monochromatic
#0E0A26 #201757 #322487 #4431B7 #6654D1

Accessibility & contrast

On white

12.08
#322487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#322487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322487
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322487#FFFFFF#000000##FFFFFF
##3224871.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003285
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322487;
/* rgb */ color: rgb(50, 36, 135);
/* oklch */ color: oklch(34.9% 0.156 281.0);
Tailwind
colors: {
  custom: {
    50: '#7560ab',
    500: '#322487',
    950: '#000000',
  },
}
SCSS
$custom: #322487;
$custom-light: #7560ab;
$custom-dark: #000000;
JSON
{
  "hex": "#322487",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 248.485,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34851,
    "c": 0.15581,
    "h": 281
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#322487
secondary
#A7B551
accent
#E147CB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322487

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

Preview Lab → · Contrast checker → · Palette generator →

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