#323E8B#323E8B

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

Color values

HEX#323E8B
RGBrgb(50, 62, 139)
HSLhsl(232, 47%, 37%)
HSVhsv(232, 64%, 55%)
CMYKcmyk(64%, 55.4%, 0%, 45.5%)
CIE-LABlab(29.38, 20.72, -44.51)
CIE-LCHlch(29.38, 49.09, 294.96°)
OKLaboklab(39.92% 0.0058 -0.1277)
OKLCHoklch(39.92% 0.128 272.6)
XYZxyz(7.6967, 5.9868, 25.1711)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323E8B #8B7F32
analogous
#326B8B #323E8B #53328B
triadic
#323E8B #8B323E #3E8B32
tetradic
#323E8B #8B326B #8B7F32 #328B53
square
#323E8B #8B326B #8B7F32 #328B53
split-complementary
#323E8B #8B5332 #6B8B32
monochromatic
#121631 #222A5E #323E8B #4252B8 #6D7ACA

Accessibility & contrast

On white

9.56
#323E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#323E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323E8B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323E8B#FFFFFF#000000##FFFFFF
##323E8B1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323e8b;
/* rgb */ color: rgb(50, 62, 139);
/* oklch */ color: oklch(39.9% 0.128 272.6);
Tailwind
colors: {
  custom: {
    50: '#7473ad',
    500: '#323e8b',
    950: '#000000',
  },
}
SCSS
$custom: #323e8b;
$custom-light: #7473ad;
$custom-dark: #000000;
JSON
{
  "hex": "#323e8b",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 231.91,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39917,
    "c": 0.12786,
    "h": 272.6
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#323E8B
secondary
#B2A867
accent
#C551D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #323E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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