#323F9D#323F9D

#323F9D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.152 H 272.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#323F9D
RGBrgb(50, 63, 157)
HSLhsl(233, 52%, 41%)
HSVhsv(233, 68%, 62%)
CMYKcmyk(68.2%, 59.9%, 0%, 38.4%)
CIE-LABlab(31.04, 26.64, -52.83)
CIE-LCHlch(31.04, 59.17, 296.76°)
OKLaboklab(41.59% 0.0054 -0.1522)
OKLCHoklch(41.59% 0.152 272)
XYZxyz(9.1767, 6.6666, 32.6949)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F9D #9D9032
analogous
#32749D #323F9D #5A329D
triadic
#323F9D #9D323F #3F9D32
tetradic
#323F9D #9D3274 #9D9032 #329D5A
square
#323F9D #9D3274 #9D9032 #329D5A
split-complementary
#323F9D #9D5A32 #749D32
monochromatic
#141A40 #232C6F #323F9D #4857C5 #7681D3

Accessibility & contrast

On white

9.00
#323F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#323F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F9D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F9D#FFFFFF#000000##FFFFFF
##323F9D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323f9d;
/* rgb */ color: rgb(50, 63, 157);
/* oklch */ color: oklch(41.6% 0.152 272.0);
Tailwind
colors: {
  custom: {
    50: '#7774bb',
    500: '#323f9d',
    950: '#000000',
  },
}
SCSS
$custom: #323f9d;
$custom-light: #7774bb;
$custom-dark: #000000;
JSON
{
  "hex": "#323f9d",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 232.71,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41592,
    "c": 0.15229,
    "h": 272
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#323F9D
secondary
#BCB26F
accent
#CA4DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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