#323D9F#323D9F

#323D9F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.158 H 272.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#323D9F
RGBrgb(50, 61, 159)
HSLhsl(234, 52%, 41%)
HSVhsv(234, 69%, 62%)
CMYKcmyk(68.6%, 61.6%, 0%, 37.6%)
CIE-LABlab(30.68, 28.68, -54.62)
CIE-LCHlch(30.68, 61.69, 297.71°)
OKLaboklab(41.38% 0.007 -0.1575)
OKLCHoklch(41.38% 0.158 272.5)
XYZxyz(9.2400, 6.5179, 33.5653)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D9F #9F9432
analogous
#32739F #323D9F #5D329F
triadic
#323D9F #9F323D #3D9F32
tetradic
#323D9F #9F3273 #9F9432 #329F5D
square
#323D9F #9F3273 #9F9432 #329F5D
split-complementary
#323D9F #9F5D32 #739F32
monochromatic
#151942 #232B70 #323D9F #4955C6 #7781D4

Accessibility & contrast

On white

9.12
#323D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323D9F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D9F#FFFFFF#000000##FFFFFF
##323D9F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323d9f;
/* rgb */ color: rgb(50, 61, 159);
/* oklch */ color: oklch(41.4% 0.158 272.5);
Tailwind
colors: {
  custom: {
    50: '#7872bc',
    500: '#323d9f',
    950: '#000000',
  },
}
SCSS
$custom: #323d9f;
$custom-light: #7872bc;
$custom-dark: #000000;
JSON
{
  "hex": "#323d9f",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 233.945,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41382,
    "c": 0.15763,
    "h": 272.5
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#323D9F
secondary
#BDB570
accent
#CD4CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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