#322784#322784

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

Color values

HEX#322784
RGBrgb(50, 39, 132)
HSLhsl(247, 54%, 34%)
HSVhsv(247, 70%, 52%)
CMYKcmyk(62.1%, 70.5%, 0%, 48.2%)
CIE-LABlab(22.98, 33.30, -50.56)
CIE-LCHlch(22.98, 60.54, 303.37°)
OKLaboklab(35.03% 0.0279 -0.1457)
OKLCHoklch(35.03% 0.148 280.9)
XYZxyz(6.2045, 3.7946, 22.2308)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322784 #798427
analogous
#274A84 #322784 #602784
triadic
#322784 #843227 #278432
tetradic
#322784 #84274A #798427 #278460
square
#322784 #84274A #798427 #278460
split-complementary
#322784 #846027 #4A8427
monochromatic
#0E0B26 #201955 #322784 #4435B3 #6658CE

Accessibility & contrast

On white

11.94
#322784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322784
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322784#FFFFFF#000000##FFFFFF
##3227841.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #322784;
/* rgb */ color: rgb(50, 39, 132);
/* oklch */ color: oklch(35.0% 0.148 280.9);
Tailwind
colors: {
  custom: {
    50: '#7462a9',
    500: '#322784',
    950: '#000000',
  },
}
SCSS
$custom: #322784;
$custom-light: #7462a9;
$custom-dark: #000000;
JSON
{
  "hex": "#322784",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 247.097,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35026,
    "c": 0.14832,
    "h": 280.9
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#322784
secondary
#A7B254
accent
#DE4ACC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322784

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

Preview Lab → · Contrast checker → · Palette generator →

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