#323C9E#323C9E

#323C9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.158 H 272.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#323C9E
RGBrgb(50, 60, 158)
HSLhsl(234, 52%, 41%)
HSVhsv(234, 68%, 62%)
CMYKcmyk(68.4%, 62%, 0%, 38%)
CIE-LABlab(30.35, 28.98, -54.56)
CIE-LCHlch(30.35, 61.78, 297.97°)
OKLaboklab(41.11% 0.0079 -0.1573)
OKLCHoklch(41.11% 0.158 272.9)
XYZxyz(9.1007, 6.3776, 33.0925)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C9E #9E9432
analogous
#32729E #323C9E #5E329E
triadic
#323C9E #9E323C #3C9E32
tetradic
#323C9E #9E3272 #9E9432 #329E5E
square
#323C9E #9E3272 #9E9432 #329E5E
split-complementary
#323C9E #9E5E32 #729E32
monochromatic
#151941 #232A70 #323C9E #4854C5 #777FD4

Accessibility & contrast

On white

9.23
#323C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#323C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C9E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C9E#FFFFFF#000000##FFFFFF
##323C9E1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #323c9e;
/* rgb */ color: rgb(50, 60, 158);
/* oklch */ color: oklch(41.1% 0.158 272.9);
Tailwind
colors: {
  custom: {
    50: '#7871bb',
    500: '#323c9e',
    950: '#000000',
  },
}
SCSS
$custom: #323c9e;
$custom-light: #7871bb;
$custom-dark: #000000;
JSON
{
  "hex": "#323c9e",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 234.444,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41107,
    "c": 0.15751,
    "h": 272.9
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#323C9E
secondary
#BCB570
accent
#CE4CDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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