#322778#322778

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

Color values

HEX#322778
RGBrgb(50, 39, 120)
HSLhsl(248, 51%, 31%)
HSVhsv(248, 68%, 47%)
CMYKcmyk(58.3%, 67.5%, 0%, 52.9%)
CIE-LABlab(21.89, 29.25, -44.75)
CIE-LCHlch(21.89, 53.46, 303.17°)
OKLaboklab(33.9% 0.0296 -0.1286)
OKLCHoklch(33.9% 0.132 283)
XYZxyz(5.4300, 3.4849, 18.1522)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322778 #6D7827
analogous
#274478 #322778 #5A2778
triadic
#322778 #783227 #277832
tetradic
#322778 #782744 #6D7827 #27785A
square
#322778 #782744 #6D7827 #27785A
split-complementary
#322778 #785A27 #447827
monochromatic
#0C091C #1F184A #322778 #4536A6 #6252C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##322778#FFFFFF#000000##FFFFFF
##3227781.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)
#00377B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#0F3B4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322778;
/* rgb */ color: rgb(50, 39, 120);
/* oklch */ color: oklch(33.9% 0.132 283.0);
Tailwind
colors: {
  custom: {
    50: '#7262a0',
    500: '#322778',
    950: '#000000',
  },
}
SCSS
$custom: #322778;
$custom-light: #7262a0;
$custom-dark: #000000;
JSON
{
  "hex": "#322778",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 248.148,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33901,
    "c": 0.13198,
    "h": 283
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

primary
#322778
secondary
#9EAA51
accent
#DA4DC7
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050F
muted
#7B797E

Preview Lab

Preview with #322778

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

Preview Lab → · Contrast checker → · Palette generator →

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