#323B8A#323B8A

#323B8A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.130 H 273.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#323B8A
RGBrgb(50, 59, 138)
HSLhsl(234, 47%, 37%)
HSVhsv(234, 64%, 54%)
CMYKcmyk(63.8%, 57.2%, 0%, 45.9%)
CIE-LABlab(28.49, 22.38, -45.33)
CIE-LCHlch(28.49, 50.55, 296.27°)
OKLaboklab(39.22% 0.0088 -0.1302)
OKLCHoklch(39.22% 0.13 273.8)
XYZxyz(7.4653, 5.6404, 24.7351)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B8A #8A8132
analogous
#32678A #323B8A #55328A
triadic
#323B8A #8A323B #3B8A32
tetradic
#323B8A #8A3267 #8A8132 #328A55
square
#323B8A #8A3267 #8A8132 #328A55
split-complementary
#323B8A #8A5532 #678A32
monochromatic
#111530 #22285D #323B8A #424EB7 #6C76CA

Accessibility & contrast

On white

9.87
#323B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#323B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B8A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B8A#FFFFFF#000000##FFFFFF
##323B8A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323b8a;
/* rgb */ color: rgb(50, 59, 138);
/* oklch */ color: oklch(39.2% 0.130 273.8);
Tailwind
colors: {
  custom: {
    50: '#7470ad',
    500: '#323b8a',
    950: '#000000',
  },
}
SCSS
$custom: #323b8a;
$custom-light: #7470ad;
$custom-dark: #000000;
JSON
{
  "hex": "#323b8a",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 233.864,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.13049,
    "h": 273.8
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#323B8A
secondary
#B2AA66
accent
#C951D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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