#322585#322585

#322585 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.152 H 281.2°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#322585
RGBrgb(50, 37, 133)
HSLhsl(248, 56%, 33%)
HSVhsv(248, 72%, 52%)
CMYKcmyk(62.4%, 72.2%, 0%, 47.8%)
CIE-LABlab(22.63, 34.85, -51.76)
CIE-LCHlch(22.63, 62.40, 303.95°)
OKLaboklab(34.81% 0.0294 -0.1492)
OKLCHoklch(34.81% 0.152 281.2)
XYZxyz(6.2093, 3.6943, 22.5716)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322585 #788525
analogous
#254885 #322585 #622585
triadic
#322585 #853225 #258532
tetradic
#322585 #852548 #788525 #258562
square
#322585 #852548 #788525 #258562
split-complementary
#322585 #856225 #488525
monochromatic
#0E0A25 #201855 #322585 #4432B5 #6555D0

Accessibility & contrast

On white

12.08
#322585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#322585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322585
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322585#FFFFFF#000000##FFFFFF
##3225851.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322585;
/* rgb */ color: rgb(50, 37, 133);
/* oklch */ color: oklch(34.8% 0.152 281.2);
Tailwind
colors: {
  custom: {
    50: '#7461a9',
    500: '#322585',
    950: '#000000',
  },
}
SCSS
$custom: #322585;
$custom-light: #7461a9;
$custom-dark: #000000;
JSON
{
  "hex": "#322585",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 248.125,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34806,
    "c": 0.15205,
    "h": 281.2
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#322585
secondary
#A7B452
accent
#E048CB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322585

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

Preview Lab → · Contrast checker → · Palette generator →

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