#323396#323396

#323396 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.158 H 275.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#323396
RGBrgb(50, 51, 150)
HSLhsl(239, 50%, 39%)
HSVhsv(239, 67%, 59%)
CMYKcmyk(66.7%, 66%, 0%, 41.2%)
CIE-LABlab(27.43, 31.96, -54.45)
CIE-LCHlch(27.43, 63.14, 300.41°)
OKLaboklab(38.75% 0.0157 -0.157)
OKLCHoklch(38.75% 0.158 275.7)
XYZxyz(8.0024, 5.2471, 29.4393)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323396 #969532
analogous
#326596 #323396 #633296
triadic
#323396 #963233 #339632
tetradic
#323396 #963265 #969532 #329663
square
#323396 #963265 #969532 #329663
split-complementary
#323396 #966332 #659632
monochromatic
#13143A #232368 #323396 #4446C1 #7273D0

Accessibility & contrast

On white

10.25
#323396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323396
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323396#FFFFFF#000000##FFFFFF
##3233961.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323396;
/* rgb */ color: rgb(50, 51, 150);
/* oklch */ color: oklch(38.8% 0.158 275.7);
Tailwind
colors: {
  custom: {
    50: '#776bb6',
    500: '#323396',
    950: '#000000',
  },
}
SCSS
$custom: #323396;
$custom-light: #776bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#323396",
  "rgb": {
    "r": 50,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 239.4,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38752,
    "c": 0.15783,
    "h": 275.7
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#323396
secondary
#B8B76C
accent
#D84EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #323396

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

Preview Lab → · Contrast checker → · Palette generator →

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