#322591#322591

#322591 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.168 H 279.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#322591
RGBrgb(50, 37, 145)
HSLhsl(247, 59%, 36%)
HSVhsv(247, 74%, 57%)
CMYKcmyk(65.5%, 74.5%, 0%, 43.1%)
CIE-LABlab(23.82, 38.80, -57.29)
CIE-LCHlch(23.82, 69.19, 304.11°)
OKLaboklab(36.01% 0.027 -0.1653)
OKLCHoklch(36.01% 0.168 279.3)
XYZxyz(7.0862, 4.0450, 27.1899)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322591 #849125
analogous
#254E91 #322591 #682591
triadic
#322591 #913225 #259132
tetradic
#322591 #91254E #849125 #259168
square
#322591 #91254E #849125 #259168
split-complementary
#322591 #916825 #4E9125
monochromatic
#100C2F #211960 #322591 #4331C2 #6A5BD5

Accessibility & contrast

On white

11.61
#322591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#322591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322591
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322591#FFFFFF#000000##FFFFFF
##3225911.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322591;
/* rgb */ color: rgb(50, 37, 145);
/* oklch */ color: oklch(36.0% 0.168 279.3);
Tailwind
colors: {
  custom: {
    50: '#7761b2',
    500: '#322591',
    950: '#000000',
  },
}
SCSS
$custom: #322591;
$custom-light: #7761b2;
$custom-dark: #000000;
JSON
{
  "hex": "#322591",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 247.222,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36011,
    "c": 0.16754,
    "h": 279.3
  },
  "luminance": 0.04046
}

Semantic roles & 50–950 ramp

primary
#322591
secondary
#AEBA58
accent
#E345D0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322591

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

Preview Lab → · Contrast checker → · Palette generator →

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