#323394#323394

#323394 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.155 H 275.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#323394
RGBrgb(50, 51, 148)
HSLhsl(239, 49%, 39%)
HSVhsv(239, 66%, 58%)
CMYKcmyk(66.2%, 65.5%, 0%, 42%)
CIE-LABlab(27.25, 31.25, -53.51)
CIE-LCHlch(27.25, 61.97, 300.29°)
OKLaboklab(38.57% 0.0159 -0.1543)
OKLCHoklch(38.57% 0.155 275.9)
XYZxyz(7.8428, 5.1832, 28.5984)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323394 #949332
analogous
#326494 #323394 #623294
triadic
#323394 #943233 #339432
tetradic
#323394 #943264 #949332 #329462
square
#323394 #943264 #949332 #329462
split-complementary
#323394 #946232 #649432
monochromatic
#131339 #232366 #323394 #4445C0 #7172CF

Accessibility & contrast

On white

10.31
#323394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#323394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323394
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323394#FFFFFF#000000##FFFFFF
##3233941.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323394;
/* rgb */ color: rgb(50, 51, 148);
/* oklch */ color: oklch(38.6% 0.155 275.9);
Tailwind
colors: {
  custom: {
    50: '#766bb4',
    500: '#323394',
    950: '#000000',
  },
}
SCSS
$custom: #323394;
$custom-light: #766bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#323394",
  "rgb": {
    "r": 50,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 239.388,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38568,
    "c": 0.15511,
    "h": 275.9
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#323394
secondary
#B7B66B
accent
#D84FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #323394

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

Preview Lab → · Contrast checker → · Palette generator →

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