#323E8A#323E8A

#323E8A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.126 H 272.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#323E8A
RGBrgb(50, 62, 138)
HSLhsl(232, 47%, 37%)
HSVhsv(232, 64%, 54%)
CMYKcmyk(63.8%, 55.1%, 0%, 45.9%)
CIE-LABlab(29.31, 20.35, -44.01)
CIE-LCHlch(29.31, 48.49, 294.82°)
OKLaboklab(39.84% 0.0057 -0.1263)
OKLCHoklch(39.84% 0.126 272.6)
XYZxyz(7.6239, 5.9577, 24.7880)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323E8A #8A7E32
analogous
#326A8A #323E8A #52328A
triadic
#323E8A #8A323E #3E8A32
tetradic
#323E8A #8A326A #8A7E32 #328A52
square
#323E8A #8A326A #8A7E32 #328A52
split-complementary
#323E8A #8A5232 #6A8A32
monochromatic
#111630 #222A5D #323E8A #4252B7 #6C79CA

Accessibility & contrast

On white

9.58
#323E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323E8A
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323E8A#FFFFFF#000000##FFFFFF
##323E8A1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323e8a;
/* rgb */ color: rgb(50, 62, 138);
/* oklch */ color: oklch(39.8% 0.126 272.6);
Tailwind
colors: {
  custom: {
    50: '#7373ad',
    500: '#323e8a',
    950: '#000000',
  },
}
SCSS
$custom: #323e8a;
$custom-light: #7373ad;
$custom-dark: #000000;
JSON
{
  "hex": "#323e8a",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 231.818,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.12639,
    "h": 272.6
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#323E8A
secondary
#B2A766
accent
#C451D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #323E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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