#323E9B#323E9B

#323E9B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.151 H 272.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#323E9B
RGBrgb(50, 62, 155)
HSLhsl(233, 51%, 40%)
HSVhsv(233, 68%, 61%)
CMYKcmyk(67.7%, 60%, 0%, 39.2%)
CIE-LABlab(30.61, 26.57, -52.30)
CIE-LCHlch(30.61, 58.67, 296.93°)
OKLaboklab(41.23% 0.0062 -0.1507)
OKLCHoklch(41.23% 0.151 272.4)
XYZxyz(8.9524, 6.4891, 31.7847)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323E9B #9B8F32
analogous
#32729B #323E9B #5A329B
triadic
#323E9B #9B323E #3E9B32
tetradic
#323E9B #9B3272 #9B8F32 #329B5A
square
#323E9B #9B3272 #9B8F32 #329B5A
split-complementary
#323E9B #9B5A32 #729B32
monochromatic
#14193E #232B6D #323E9B #4755C4 #7580D2

Accessibility & contrast

On white

9.14
#323E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#323E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323E9B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323E9B#FFFFFF#000000##FFFFFF
##323E9B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323e9b;
/* rgb */ color: rgb(50, 62, 155);
/* oklch */ color: oklch(41.2% 0.151 272.4);
Tailwind
colors: {
  custom: {
    50: '#7773b9',
    500: '#323e9b',
    950: '#000000',
  },
}
SCSS
$custom: #323e9b;
$custom-light: #7773b9;
$custom-dark: #000000;
JSON
{
  "hex": "#323e9b",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 233.143,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41229,
    "c": 0.15079,
    "h": 272.4
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#323E9B
secondary
#BBB26E
accent
#CB4DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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