#322284#322284

#322284 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.154 H 282.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#322284
RGBrgb(50, 34, 132)
HSLhsl(250, 59%, 33%)
HSVhsv(250, 74%, 52%)
CMYKcmyk(62.1%, 74.2%, 0%, 48.2%)
CIE-LABlab(21.90, 36.29, -52.33)
CIE-LCHlch(21.90, 63.68, 304.74°)
OKLaboklab(34.25% 0.0321 -0.1509)
OKLCHoklch(34.25% 0.154 282)
XYZxyz(6.0510, 3.4877, 22.1797)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322284 #748422
analogous
#224384 #322284 #632284
triadic
#322284 #843222 #228432
tetradic
#322284 #842243 #748422 #228463
square
#322284 #842243 #748422 #228463
split-complementary
#322284 #846322 #438422
monochromatic
#0D0923 #201553 #322284 #442FB5 #644FD2

Accessibility & contrast

On white

12.37
#322284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#322284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322284
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322284#FFFFFF#000000##FFFFFF
##3222841.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322284;
/* rgb */ color: rgb(50, 34, 132);
/* oklch */ color: oklch(34.3% 0.154 282.0);
Tailwind
colors: {
  custom: {
    50: '#755fa9',
    500: '#322284',
    950: '#000000',
  },
}
SCSS
$custom: #322284;
$custom-light: #755fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#322284",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 249.796,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34253,
    "c": 0.15422,
    "h": 282
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#322284
secondary
#A4B54D
accent
#E246C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322284

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

Preview Lab → · Contrast checker → · Palette generator →

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