#323F9F#323F9F

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

Color values

HEX#323F9F
RGBrgb(50, 63, 159)
HSLhsl(233, 52%, 41%)
HSVhsv(233, 69%, 62%)
CMYKcmyk(68.6%, 60.4%, 0%, 37.6%)
CIE-LABlab(31.20, 27.37, -53.78)
CIE-LCHlch(31.20, 60.34, 296.97°)
OKLaboklab(41.76% 0.0054 -0.155)
OKLCHoklch(41.76% 0.155 272)
XYZxyz(9.3488, 6.7355, 33.6016)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F9F #9F9232
analogous
#32759F #323F9F #5B329F
triadic
#323F9F #9F323F #3F9F32
tetradic
#323F9F #9F3275 #9F9232 #329F5B
square
#323F9F #9F3275 #9F9232 #329F5B
split-complementary
#323F9F #9F5B32 #759F32
monochromatic
#151A42 #232D70 #323F9F #4957C6 #7782D4

Accessibility & contrast

On white

8.95
#323F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#323F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F9F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F9F#FFFFFF#000000##FFFFFF
##323F9F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323f9f;
/* rgb */ color: rgb(50, 63, 159);
/* oklch */ color: oklch(41.8% 0.155 272.0);
Tailwind
colors: {
  custom: {
    50: '#7874bc',
    500: '#323f9f',
    950: '#000000',
  },
}
SCSS
$custom: #323f9f;
$custom-light: #7874bc;
$custom-dark: #000000;
JSON
{
  "hex": "#323f9f",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 232.844,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41762,
    "c": 0.15508,
    "h": 272
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#323F9F
secondary
#BDB370
accent
#CA4CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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