#323B99#323B99

#323B99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.152 H 273.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#323B99
RGBrgb(50, 59, 153)
HSLhsl(235, 51%, 40%)
HSVhsv(235, 67%, 60%)
CMYKcmyk(67.3%, 61.4%, 0%, 40%)
CIE-LABlab(29.68, 27.82, -52.61)
CIE-LCHlch(29.68, 59.52, 297.87°)
OKLaboklab(40.48% 0.0088 -0.1516)
OKLCHoklch(40.48% 0.152 273.3)
XYZxyz(8.6272, 6.1052, 30.8546)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B99 #999032
analogous
#326F99 #323B99 #5C3299
triadic
#323B99 #99323B #3B9932
tetradic
#323B99 #99326F #999032 #32995C
square
#323B99 #99326F #999032 #32995C
split-complementary
#323B99 #995C32 #6F9932
monochromatic
#14173D #23296B #323B99 #4651C2 #747CD2

Accessibility & contrast

On white

9.45
#323B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#323B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B99
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B99#FFFFFF#000000##FFFFFF
##323B991.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323b99;
/* rgb */ color: rgb(50, 59, 153);
/* oklch */ color: oklch(40.5% 0.152 273.3);
Tailwind
colors: {
  custom: {
    50: '#7771b8',
    500: '#323b99',
    950: '#000000',
  },
}
SCSS
$custom: #323b99;
$custom-light: #7771b8;
$custom-dark: #000000;
JSON
{
  "hex": "#323b99",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 234.757,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.15186,
    "h": 273.3
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#323B99
secondary
#BAB36D
accent
#CE4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323B99

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

Preview Lab → · Contrast checker → · Palette generator →

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