#323B91#323B91

#323B91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.141 H 273.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#323B91
RGBrgb(50, 59, 145)
HSLhsl(234, 49%, 38%)
HSVhsv(234, 66%, 57%)
CMYKcmyk(65.5%, 59.3%, 0%, 43.1%)
CIE-LABlab(29.03, 24.92, -48.77)
CIE-LCHlch(29.03, 54.77, 297.07°)
OKLaboklab(39.8% 0.0089 -0.1403)
OKLCHoklch(39.8% 0.141 273.6)
XYZxyz(7.9885, 5.8497, 27.4907)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B91 #918832
analogous
#326A91 #323B91 #583291
triadic
#323B91 #91323B #3B9132
tetradic
#323B91 #91326A #918832 #329158
square
#323B91 #91326A #918832 #329158
split-complementary
#323B91 #915832 #6A9132
monochromatic
#131636 #222863 #323B91 #424EBE #7079CE

Accessibility & contrast

On white

9.68
#323B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#323B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B91
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B91#FFFFFF#000000##FFFFFF
##323B911.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323b91;
/* rgb */ color: rgb(50, 59, 145);
/* oklch */ color: oklch(39.8% 0.141 273.6);
Tailwind
colors: {
  custom: {
    50: '#7570b2',
    500: '#323b91',
    950: '#000000',
  },
}
SCSS
$custom: #323b91;
$custom-light: #7570b2;
$custom-dark: #000000;
JSON
{
  "hex": "#323b91",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 234.316,
    "s": 48.718,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39801,
    "c": 0.14058,
    "h": 273.6
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#323B91
secondary
#B5AE69
accent
#CB50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323B91

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

Preview Lab → · Contrast checker → · Palette generator →

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