#323B96#323B96

#323B96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.148 H 273.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#323B96
RGBrgb(50, 59, 150)
HSLhsl(235, 50%, 39%)
HSVhsv(235, 67%, 59%)
CMYKcmyk(66.7%, 60.7%, 0%, 41.2%)
CIE-LABlab(29.43, 26.74, -51.18)
CIE-LCHlch(29.43, 57.75, 297.58°)
OKLaboklab(40.22% 0.0089 -0.1474)
OKLCHoklch(40.22% 0.148 273.4)
XYZxyz(8.3825, 6.0073, 29.5660)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B96 #968D32
analogous
#326D96 #323B96 #5B3296
triadic
#323B96 #96323B #3B9632
tetradic
#323B96 #96326D #968D32 #32965B
square
#323B96 #96326D #968D32 #32965B
split-complementary
#323B96 #965B32 #6D9632
monochromatic
#13173A #232968 #323B96 #4450C1 #727BD0

Accessibility & contrast

On white

9.54
#323B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#323B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B96
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B96#FFFFFF#000000##FFFFFF
##323B961.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323b96;
/* rgb */ color: rgb(50, 59, 150);
/* oklch */ color: oklch(40.2% 0.148 273.4);
Tailwind
colors: {
  custom: {
    50: '#7671b6',
    500: '#323b96',
    950: '#000000',
  },
}
SCSS
$custom: #323b96;
$custom-light: #7671b6;
$custom-dark: #000000;
JSON
{
  "hex": "#323b96",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 234.6,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40224,
    "c": 0.14767,
    "h": 273.4
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#323B96
secondary
#B8B16C
accent
#CD4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323B96

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

Preview Lab → · Contrast checker → · Palette generator →

#323B96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva