#323B9E#323B9E

#323B9E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.159 H 273.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#323B9E
RGBrgb(50, 59, 158)
HSLhsl(235, 52%, 41%)
HSVhsv(235, 68%, 62%)
CMYKcmyk(68.4%, 62.7%, 0%, 38%)
CIE-LABlab(30.09, 29.63, -54.97)
CIE-LCHlch(30.09, 62.45, 298.33°)
OKLaboklab(40.92% 0.0087 -0.1585)
OKLCHoklch(40.92% 0.159 273.1)
XYZxyz(9.0489, 6.2738, 33.0752)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B9E #9E9532
analogous
#32719E #323B9E #5F329E
triadic
#323B9E #9E323B #3B9E32
tetradic
#323B9E #9E3271 #9E9532 #329E5F
square
#323B9E #9E3271 #9E9532 #329E5F
split-complementary
#323B9E #9E5F32 #719E32
monochromatic
#151841 #232A70 #323B9E #4853C5 #777ED4

Accessibility & contrast

On white

9.31
#323B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#323B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B9E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B9E#FFFFFF#000000##FFFFFF
##323B9E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323b9e;
/* rgb */ color: rgb(50, 59, 158);
/* oklch */ color: oklch(40.9% 0.159 273.1);
Tailwind
colors: {
  custom: {
    50: '#7871bb',
    500: '#323b9e',
    950: '#000000',
  },
}
SCSS
$custom: #323b9e;
$custom-light: #7871bb;
$custom-dark: #000000;
JSON
{
  "hex": "#323b9e",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 158
  },
  "hsl": {
    "h": 235,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4092,
    "c": 0.15877,
    "h": 273.1
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#323B9E
secondary
#BCB670
accent
#CF4CDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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