#323F9B#323F9B

#323F9B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.149 H 272.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#323F9B
RGBrgb(50, 63, 155)
HSLhsl(233, 51%, 40%)
HSVhsv(233, 68%, 61%)
CMYKcmyk(67.7%, 59.4%, 0%, 39.2%)
CIE-LABlab(30.88, 25.91, -51.88)
CIE-LCHlch(30.88, 57.99, 296.54°)
OKLaboklab(41.42% 0.0054 -0.1494)
OKLCHoklch(41.42% 0.15 272.1)
XYZxyz(9.0073, 6.5989, 31.8030)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F9B #9B8E32
analogous
#32749B #323F9B #59329B
triadic
#323F9B #9B323F #3F9B32
tetradic
#323F9B #9B3274 #9B8E32 #329B59
square
#323F9B #9B3274 #9B8E32 #329B59
split-complementary
#323F9B #9B5932 #749B32
monochromatic
#14193E #232C6D #323F9B #4756C4 #7581D2

Accessibility & contrast

On white

9.05
#323F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#323F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F9B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F9B#FFFFFF#000000##FFFFFF
##323F9B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323f9b;
/* rgb */ color: rgb(50, 63, 155);
/* oklch */ color: oklch(41.4% 0.149 272.1);
Tailwind
colors: {
  custom: {
    50: '#7774b9',
    500: '#323f9b',
    950: '#000000',
  },
}
SCSS
$custom: #323f9b;
$custom-light: #7774b9;
$custom-dark: #000000;
JSON
{
  "hex": "#323f9b",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 232.571,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41423,
    "c": 0.1495,
    "h": 272.1
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#323F9B
secondary
#BBB16E
accent
#C94DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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