#323496#323496

#323496 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.157 H 275.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#323496
RGBrgb(50, 52, 150)
HSLhsl(239, 50%, 39%)
HSVhsv(239, 67%, 59%)
CMYKcmyk(66.7%, 65.3%, 0%, 41.2%)
CIE-LABlab(27.67, 31.32, -54.05)
CIE-LCHlch(27.67, 62.47, 300.09°)
OKLaboklab(38.93% 0.0149 -0.1559)
OKLCHoklch(38.93% 0.157 275.4)
XYZxyz(8.0466, 5.3354, 29.4540)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323496 #969432
analogous
#326696 #323496 #623296
triadic
#323496 #963234 #349632
tetradic
#323496 #963266 #969432 #329662
square
#323496 #963266 #969432 #329662
split-complementary
#323496 #966232 #669632
monochromatic
#13143A #232468 #323496 #4447C1 #7274D0

Accessibility & contrast

On white

10.16
#323496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#323496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323496
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323496#FFFFFF#000000##FFFFFF
##3234961.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #323496;
/* rgb */ color: rgb(50, 52, 150);
/* oklch */ color: oklch(38.9% 0.157 275.4);
Tailwind
colors: {
  custom: {
    50: '#776cb6',
    500: '#323496',
    950: '#000000',
  },
}
SCSS
$custom: #323496;
$custom-light: #776cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#323496",
  "rgb": {
    "r": 50,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 238.8,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38929,
    "c": 0.15659,
    "h": 275.4
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#323496
secondary
#B8B76C
accent
#D74EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323496

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

Preview Lab → · Contrast checker → · Palette generator →

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