#323494#323494

#323494 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.154 H 275.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#323494
RGBrgb(50, 52, 148)
HSLhsl(239, 49%, 39%)
HSVhsv(239, 66%, 58%)
CMYKcmyk(66.2%, 64.9%, 0%, 42%)
CIE-LABlab(27.49, 30.61, -53.11)
CIE-LCHlch(27.49, 61.30, 299.95°)
OKLaboklab(38.75% 0.015 -0.1531)
OKLCHoklch(38.75% 0.154 275.6)
XYZxyz(7.8869, 5.2715, 28.6131)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323494 #949232
analogous
#326594 #323494 #613294
triadic
#323494 #943234 #349432
tetradic
#323494 #943265 #949232 #329461
square
#323494 #943265 #949232 #329461
split-complementary
#323494 #946132 #659432
monochromatic
#131439 #232466 #323494 #4446C0 #7173CF

Accessibility & contrast

On white

10.22
#323494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#323494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323494
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323494#FFFFFF#000000##FFFFFF
##3234941.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #323494;
/* rgb */ color: rgb(50, 52, 148);
/* oklch */ color: oklch(38.7% 0.154 275.6);
Tailwind
colors: {
  custom: {
    50: '#766bb4',
    500: '#323494',
    950: '#000000',
  },
}
SCSS
$custom: #323494;
$custom-light: #766bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#323494",
  "rgb": {
    "r": 50,
    "g": 52,
    "b": 148
  },
  "hsl": {
    "h": 238.776,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38747,
    "c": 0.15385,
    "h": 275.6
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#323494
secondary
#B7B56B
accent
#D64FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323494

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

Preview Lab → · Contrast checker → · Palette generator →

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