#323B8B#323B8B

#323B8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.132 H 273.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#323B8B
RGBrgb(50, 59, 139)
HSLhsl(234, 47%, 37%)
HSVhsv(234, 64%, 55%)
CMYKcmyk(64%, 57.6%, 0%, 45.5%)
CIE-LABlab(28.56, 22.74, -45.83)
CIE-LCHlch(28.56, 51.16, 296.39°)
OKLaboklab(39.31% 0.0088 -0.1316)
OKLCHoklch(39.31% 0.132 273.8)
XYZxyz(7.5380, 5.6695, 25.1182)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B8B #8B8232
analogous
#32678B #323B8B #56328B
triadic
#323B8B #8B323B #3B8B32
tetradic
#323B8B #8B3267 #8B8232 #328B56
square
#323B8B #8B3267 #8B8232 #328B56
split-complementary
#323B8B #8B5632 #678B32
monochromatic
#121531 #22285E #323B8B #424EB8 #6D76CA

Accessibility & contrast

On white

9.84
#323B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323B8B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B8B#FFFFFF#000000##FFFFFF
##323B8B1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323b8b;
/* rgb */ color: rgb(50, 59, 139);
/* oklch */ color: oklch(39.3% 0.132 273.8);
Tailwind
colors: {
  custom: {
    50: '#7470ad',
    500: '#323b8b',
    950: '#000000',
  },
}
SCSS
$custom: #323b8b;
$custom-light: #7470ad;
$custom-dark: #000000;
JSON
{
  "hex": "#323b8b",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 139
  },
  "hsl": {
    "h": 233.933,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39306,
    "c": 0.13194,
    "h": 273.8
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#323B8B
secondary
#B2AB67
accent
#C951D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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