#322787#322787

#322787 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.152 H 280.4°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#322787
RGBrgb(50, 39, 135)
HSLhsl(247, 55%, 34%)
HSVhsv(247, 71%, 53%)
CMYKcmyk(63%, 71.1%, 0%, 47.1%)
CIE-LABlab(23.26, 34.31, -51.98)
CIE-LCHlch(23.26, 62.28, 303.43°)
OKLaboklab(35.32% 0.0274 -0.1498)
OKLCHoklch(35.32% 0.152 280.4)
XYZxyz(6.4127, 3.8779, 23.3276)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322787 #7C8727
analogous
#274C87 #322787 #622787
triadic
#322787 #873227 #278732
tetradic
#322787 #87274C #7C8727 #278762
square
#322787 #87274C #7C8727 #278762
split-complementary
#322787 #876227 #4C8727
monochromatic
#0F0C28 #201958 #322787 #4435B6 #6759CF

Accessibility & contrast

On white

11.83
#322787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#322787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322787
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322787#FFFFFF#000000##FFFFFF
##3227871.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #322787;
/* rgb */ color: rgb(50, 39, 135);
/* oklch */ color: oklch(35.3% 0.152 280.4);
Tailwind
colors: {
  custom: {
    50: '#7562ab',
    500: '#322787',
    950: '#000000',
  },
}
SCSS
$custom: #322787;
$custom-light: #7562ab;
$custom-dark: #000000;
JSON
{
  "hex": "#322787",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 246.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35316,
    "c": 0.15231,
    "h": 280.4
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#322787
secondary
#A9B456
accent
#DF49CD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322787

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

Preview Lab → · Contrast checker → · Palette generator →

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