#323A91#323A91

#323A91 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.142 H 274.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#323A91
RGBrgb(50, 58, 145)
HSLhsl(235, 49%, 38%)
HSVhsv(235, 66%, 57%)
CMYKcmyk(65.5%, 60%, 0%, 43.1%)
CIE-LABlab(28.77, 25.59, -49.20)
CIE-LCHlch(28.77, 55.45, 297.48°)
OKLaboklab(39.61% 0.0098 -0.1416)
OKLCHoklch(39.61% 0.142 274)
XYZxyz(7.9376, 5.7479, 27.4737)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A91 #918932
analogous
#326991 #323A91 #593291
triadic
#323A91 #91323A #3A9132
tetradic
#323A91 #913269 #918932 #329159
square
#323A91 #913269 #918932 #329159
split-complementary
#323A91 #915932 #699132
monochromatic
#131636 #222863 #323A91 #424DBE #7078CE

Accessibility & contrast

On white

9.77
#323A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#323A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A91
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A91#FFFFFF#000000##FFFFFF
##323A911.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323a91;
/* rgb */ color: rgb(50, 58, 145);
/* oklch */ color: oklch(39.6% 0.142 274.0);
Tailwind
colors: {
  custom: {
    50: '#7570b2',
    500: '#323a91',
    950: '#000000',
  },
}
SCSS
$custom: #323a91;
$custom-light: #7570b2;
$custom-dark: #000000;
JSON
{
  "hex": "#323a91",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 234.947,
    "s": 48.718,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39606,
    "c": 0.14191,
    "h": 274
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#323A91
secondary
#B5AF69
accent
#CD50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323A91

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

Preview Lab → · Contrast checker → · Palette generator →

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