#323996#323996

#323996 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.150 H 274.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#323996
RGBrgb(50, 57, 150)
HSLhsl(236, 50%, 39%)
HSVhsv(236, 67%, 59%)
CMYKcmyk(66.7%, 62%, 0%, 41.2%)
CIE-LABlab(28.92, 28.06, -52.02)
CIE-LCHlch(28.92, 59.10, 298.34°)
OKLaboklab(39.84% 0.0106 -0.1499)
OKLCHoklch(39.84% 0.15 274.1)
XYZxyz(8.2817, 5.8056, 29.5324)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323996 #968F32
analogous
#326B96 #323996 #5D3296
triadic
#323996 #963239 #399632
tetradic
#323996 #96326B #968F32 #32965D
square
#323996 #96326B #968F32 #32965D
split-complementary
#323996 #965D32 #6B9632
monochromatic
#13163A #232868 #323996 #444DC1 #7279D0

Accessibility & contrast

On white

9.72
#323996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#323996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323996
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323996#FFFFFF#000000##FFFFFF
##3239961.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323996;
/* rgb */ color: rgb(50, 57, 150);
/* oklch */ color: oklch(39.8% 0.150 274.1);
Tailwind
colors: {
  custom: {
    50: '#766fb6',
    500: '#323996',
    950: '#000000',
  },
}
SCSS
$custom: #323996;
$custom-light: #766fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#323996",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 235.8,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39844,
    "c": 0.15025,
    "h": 274.1
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#323996
secondary
#B8B36C
accent
#D04EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323996

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

Preview Lab → · Contrast checker → · Palette generator →

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