#323591#323591

#323591 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.148 H 275.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#323591
RGBrgb(50, 53, 145)
HSLhsl(238, 49%, 38%)
HSVhsv(238, 66%, 57%)
CMYKcmyk(65.5%, 63.4%, 0%, 43.1%)
CIE-LABlab(27.48, 28.89, -51.28)
CIE-LCHlch(27.48, 58.86, 299.40°)
OKLaboklab(38.66% 0.0143 -0.1477)
OKLCHoklch(38.66% 0.148 275.5)
XYZxyz(7.6977, 5.2680, 27.3937)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323591 #918E32
analogous
#326491 #323591 #5E3291
triadic
#323591 #913235 #359132
tetradic
#323591 #913264 #918E32 #32915E
square
#323591 #913264 #918E32 #32915E
split-complementary
#323591 #915E32 #649132
monochromatic
#131436 #222463 #323591 #4246BE #7073CE

Accessibility & contrast

On white

10.22
#323591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#323591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323591
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323591#FFFFFF#000000##FFFFFF
##3235911.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #323591;
/* rgb */ color: rgb(50, 53, 145);
/* oklch */ color: oklch(38.7% 0.148 275.5);
Tailwind
colors: {
  custom: {
    50: '#766cb2',
    500: '#323591',
    950: '#000000',
  },
}
SCSS
$custom: #323591;
$custom-light: #766cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#323591",
  "rgb": {
    "r": 50,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 238.105,
    "s": 48.718,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38659,
    "c": 0.14844,
    "h": 275.5
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#323591
secondary
#B5B369
accent
#D450D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323591

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

Preview Lab → · Contrast checker → · Palette generator →

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