#323C9D#323C9D

#323C9D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.156 H 272.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#323C9D
RGBrgb(50, 60, 157)
HSLhsl(234, 52%, 41%)
HSVhsv(234, 68%, 62%)
CMYKcmyk(68.2%, 61.8%, 0%, 38.4%)
CIE-LABlab(30.26, 28.62, -54.09)
CIE-LCHlch(30.26, 61.19, 297.88°)
OKLaboklab(41.02% 0.0079 -0.1559)
OKLCHoklch(41.02% 0.156 272.9)
XYZxyz(9.0150, 6.3433, 32.6410)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C9D #9D9332
analogous
#32719D #323C9D #5E329D
triadic
#323C9D #9D323C #3C9D32
tetradic
#323C9D #9D3271 #9D9332 #329D5E
square
#323C9D #9D3271 #9D9332 #329D5E
split-complementary
#323C9D #9D5E32 #719D32
monochromatic
#141940 #232A6F #323C9D #4853C5 #767FD3

Accessibility & contrast

On white

9.26
#323C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#323C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C9D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C9D#FFFFFF#000000##FFFFFF
##323C9D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #323c9d;
/* rgb */ color: rgb(50, 60, 157);
/* oklch */ color: oklch(41.0% 0.156 272.9);
Tailwind
colors: {
  custom: {
    50: '#7871bb',
    500: '#323c9d',
    950: '#000000',
  },
}
SCSS
$custom: #323c9d;
$custom-light: #7871bb;
$custom-dark: #000000;
JSON
{
  "hex": "#323c9d",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 234.393,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.15613,
    "h": 272.9
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#323C9D
secondary
#BCB46F
accent
#CE4DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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