#323C91#323C91

#323C91 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.139 H 273.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#323C91
RGBrgb(50, 60, 145)
HSLhsl(234, 49%, 38%)
HSVhsv(234, 66%, 57%)
CMYKcmyk(65.5%, 58.6%, 0%, 43.1%)
CIE-LABlab(29.29, 24.25, -48.34)
CIE-LCHlch(29.29, 54.08, 296.65°)
OKLaboklab(40% 0.008 -0.139)
OKLCHoklch(40% 0.139 273.3)
XYZxyz(8.0404, 5.9535, 27.5080)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C91 #918732
analogous
#326B91 #323C91 #573291
triadic
#323C91 #91323C #3C9132
tetradic
#323C91 #91326B #918732 #329157
square
#323C91 #91326B #918732 #329157
split-complementary
#323C91 #915732 #6B9132
monochromatic
#131636 #222963 #323C91 #424FBE #707ACE

Accessibility & contrast

On white

9.59
#323C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#323C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C91
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C91#FFFFFF#000000##FFFFFF
##323C911.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323c91;
/* rgb */ color: rgb(50, 60, 145);
/* oklch */ color: oklch(40.0% 0.139 273.3);
Tailwind
colors: {
  custom: {
    50: '#7571b2',
    500: '#323c91',
    950: '#000000',
  },
}
SCSS
$custom: #323c91;
$custom-light: #7571b2;
$custom-dark: #000000;
JSON
{
  "hex": "#323c91",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 233.684,
    "s": 48.718,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39998,
    "c": 0.13926,
    "h": 273.3
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#323C91
secondary
#B5AD69
accent
#CA50D8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323C91

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

Preview Lab → · Contrast checker → · Palette generator →

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