#323392#323392

#323392 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.152 H 276.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#323392
RGBrgb(50, 51, 146)
HSLhsl(239, 49%, 38%)
HSVhsv(239, 66%, 57%)
CMYKcmyk(65.8%, 65.1%, 0%, 42.7%)
CIE-LABlab(27.08, 30.55, -52.57)
CIE-LCHlch(27.08, 60.80, 300.16°)
OKLaboklab(38.39% 0.016 -0.1515)
OKLCHoklch(38.39% 0.152 276)
XYZxyz(7.6858, 5.1204, 27.7719)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323392 #929132
analogous
#326392 #323392 #613292
triadic
#323392 #923233 #339232
tetradic
#323392 #923263 #929132 #329261
square
#323392 #923263 #929132 #329261
split-complementary
#323392 #926132 #639232
monochromatic
#131337 #222364 #323392 #4344BF #7071CE

Accessibility & contrast

On white

10.37
#323392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#323392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323392
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323392#FFFFFF#000000##FFFFFF
##3233921.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323392;
/* rgb */ color: rgb(50, 51, 146);
/* oklch */ color: oklch(38.4% 0.152 276.0);
Tailwind
colors: {
  custom: {
    50: '#766bb3',
    500: '#323392',
    950: '#000000',
  },
}
SCSS
$custom: #323392;
$custom-light: #766bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#323392",
  "rgb": {
    "r": 50,
    "g": 51,
    "b": 146
  },
  "hsl": {
    "h": 239.375,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38386,
    "c": 0.15237,
    "h": 276
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#323392
secondary
#B6B56A
accent
#D74FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #323392

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

Preview Lab → · Contrast checker → · Palette generator →

#323392 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva