#323E9A#323E9A

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

Color values

HEX#323E9A
RGBrgb(50, 62, 154)
HSLhsl(233, 51%, 40%)
HSVhsv(233, 68%, 60%)
CMYKcmyk(67.5%, 59.7%, 0%, 39.6%)
CIE-LABlab(30.53, 26.21, -51.83)
CIE-LCHlch(30.53, 58.08, 296.82°)
OKLaboklab(41.14% 0.0062 -0.1493)
OKLCHoklch(41.14% 0.149 272.4)
XYZxyz(8.8688, 6.4556, 31.3443)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323E9A #9A8E32
analogous
#32729A #323E9A #5A329A
triadic
#323E9A #9A323E #3E9A32
tetradic
#323E9A #9A3272 #9A8E32 #329A5A
square
#323E9A #9A3272 #9A8E32 #329A5A
split-complementary
#323E9A #9A5A32 #729A32
monochromatic
#14193E #232B6C #323E9A #4655C3 #747FD2

Accessibility & contrast

On white

9.17
#323E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#323E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323E9A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323E9A#FFFFFF#000000##FFFFFF
##323E9A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323e9a;
/* rgb */ color: rgb(50, 62, 154);
/* oklch */ color: oklch(41.1% 0.149 272.4);
Tailwind
colors: {
  custom: {
    50: '#7773b8',
    500: '#323e9a',
    950: '#000000',
  },
}
SCSS
$custom: #323e9a;
$custom-light: #7773b8;
$custom-dark: #000000;
JSON
{
  "hex": "#323e9a",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 233.077,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.41144,
    "c": 0.14939,
    "h": 272.4
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#323E9A
secondary
#BAB16E
accent
#CA4DDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #323E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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