#323A96#323A96

#323A96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.149 H 273.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#323A96
RGBrgb(50, 58, 150)
HSLhsl(235, 50%, 39%)
HSVhsv(235, 67%, 59%)
CMYKcmyk(66.7%, 61.3%, 0%, 41.2%)
CIE-LABlab(29.17, 27.40, -51.60)
CIE-LCHlch(29.17, 58.43, 297.97°)
OKLaboklab(40.03% 0.0098 -0.1486)
OKLCHoklch(40.03% 0.149 273.8)
XYZxyz(8.3316, 5.9055, 29.5491)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A96 #968E32
analogous
#326C96 #323A96 #5C3296
triadic
#323A96 #96323A #3A9632
tetradic
#323A96 #96326C #968E32 #32965C
square
#323A96 #96326C #968E32 #32965C
split-complementary
#323A96 #965C32 #6C9632
monochromatic
#13173A #232868 #323A96 #444EC1 #727AD0

Accessibility & contrast

On white

9.63
#323A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#323A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A96
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A96#FFFFFF#000000##FFFFFF
##323A961.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323a96;
/* rgb */ color: rgb(50, 58, 150);
/* oklch */ color: oklch(40.0% 0.149 273.8);
Tailwind
colors: {
  custom: {
    50: '#7670b6',
    500: '#323a96',
    950: '#000000',
  },
}
SCSS
$custom: #323a96;
$custom-light: #7670b6;
$custom-dark: #000000;
JSON
{
  "hex": "#323a96",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 235.2,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40033,
    "c": 0.14896,
    "h": 273.8
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#323A96
secondary
#B8B26C
accent
#CE4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323A96

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

Preview Lab → · Contrast checker → · Palette generator →

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