#322578#322578

#322578 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.135 H 283.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#322578
RGBrgb(50, 37, 120)
HSLhsl(249, 53%, 31%)
HSVhsv(249, 69%, 47%)
CMYKcmyk(58.3%, 69.2%, 0%, 52.9%)
CIE-LABlab(21.42, 30.52, -45.51)
CIE-LCHlch(21.42, 54.80, 303.84°)
OKLaboklab(33.56% 0.0316 -0.1309)
OKLCHoklch(33.56% 0.135 283.6)
XYZxyz(5.3661, 3.3570, 18.1309)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322578 #6B7825
analogous
#254178 #322578 #5B2578
triadic
#322578 #783225 #257832
tetradic
#322578 #782541 #6B7825 #25785B
square
#322578 #782541 #6B7825 #25785B
split-complementary
#322578 #785B25 #417825
monochromatic
#0B081A #1F1749 #322578 #4533A7 #624FC9

Accessibility & contrast

On white

12.56
#322578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#322578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322578
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322578#FFFFFF#000000##FFFFFF
##3225781.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#103A4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #322578;
/* rgb */ color: rgb(50, 37, 120);
/* oklch */ color: oklch(33.6% 0.135 283.6);
Tailwind
colors: {
  custom: {
    50: '#7260a0',
    500: '#322578',
    950: '#000000',
  },
}
SCSS
$custom: #322578;
$custom-light: #7260a0;
$custom-dark: #000000;
JSON
{
  "hex": "#322578",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 120
  },
  "hsl": {
    "h": 249.398,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33561,
    "c": 0.13463,
    "h": 283.6
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#322578
secondary
#9CAA4E
accent
#DC4CC6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050F
muted
#7B797E

Preview Lab

Preview with #322578

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

Preview Lab → · Contrast checker → · Palette generator →

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