#323D91#323D91

#323D91 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.138 H 272.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#323D91
RGBrgb(50, 61, 145)
HSLhsl(233, 49%, 38%)
HSVhsv(233, 66%, 57%)
CMYKcmyk(65.5%, 57.9%, 0%, 43.1%)
CIE-LABlab(29.56, 23.59, -47.91)
CIE-LCHlch(29.56, 53.40, 296.21°)
OKLaboklab(40.2% 0.007 -0.1377)
OKLCHoklch(40.2% 0.138 272.9)
XYZxyz(8.0933, 6.0592, 27.5256)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D91 #918632
analogous
#326C91 #323D91 #563291
triadic
#323D91 #91323D #3D9132
tetradic
#323D91 #91326C #918632 #329156
square
#323D91 #91326C #918632 #329156
split-complementary
#323D91 #915632 #6C9132
monochromatic
#131736 #222A63 #323D91 #4251BE #707BCE

Accessibility & contrast

On white

9.49
#323D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#323D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D91
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D91#FFFFFF#000000##FFFFFF
##323D911.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323d91;
/* rgb */ color: rgb(50, 61, 145);
/* oklch */ color: oklch(40.2% 0.138 272.9);
Tailwind
colors: {
  custom: {
    50: '#7572b2',
    500: '#323d91',
    950: '#000000',
  },
}
SCSS
$custom: #323d91;
$custom-light: #7572b2;
$custom-dark: #000000;
JSON
{
  "hex": "#323d91",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 233.053,
    "s": 48.718,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40197,
    "c": 0.13792,
    "h": 272.9
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#323D91
secondary
#B5AD69
accent
#C850D8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #323D91

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

Preview Lab → · Contrast checker → · Palette generator →

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