#323C8A#323C8A

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

Color values

HEX#323C8A
RGBrgb(50, 60, 138)
HSLhsl(233, 47%, 37%)
HSVhsv(233, 64%, 54%)
CMYKcmyk(63.8%, 56.5%, 0%, 45.9%)
CIE-LABlab(28.76, 21.70, -44.89)
CIE-LCHlch(28.76, 49.86, 295.80°)
OKLaboklab(39.43% 0.0077 -0.1289)
OKLCHoklch(39.43% 0.129 273.4)
XYZxyz(7.5172, 5.7442, 24.7524)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C8A #8A8032
analogous
#32688A #323C8A #54328A
triadic
#323C8A #8A323C #3C8A32
tetradic
#323C8A #8A3268 #8A8032 #328A54
square
#323C8A #8A3268 #8A8032 #328A54
split-complementary
#323C8A #8A5432 #688A32
monochromatic
#111530 #22285D #323C8A #4250B7 #6C77CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##323C8A#FFFFFF#000000##FFFFFF
##323C8A1.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)
#01488D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323c8a;
/* rgb */ color: rgb(50, 60, 138);
/* oklch */ color: oklch(39.4% 0.129 273.4);
Tailwind
colors: {
  custom: {
    50: '#7471ad',
    500: '#323c8a',
    950: '#000000',
  },
}
SCSS
$custom: #323c8a;
$custom-light: #7471ad;
$custom-dark: #000000;
JSON
{
  "hex": "#323c8a",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 233.182,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39427,
    "c": 0.12912,
    "h": 273.4
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#323C8A
secondary
#B2A966
accent
#C751D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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