#323399#323399

#323399 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.162 H 275.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#323399
RGBrgb(50, 51, 153)
HSLhsl(239, 51%, 40%)
HSVhsv(239, 67%, 60%)
CMYKcmyk(67.3%, 66.7%, 0%, 40%)
CIE-LABlab(27.70, 33.01, -55.85)
CIE-LCHlch(27.70, 64.88, 300.59°)
OKLaboklab(39.03% 0.0154 -0.1611)
OKLCHoklch(39.03% 0.162 275.5)
XYZxyz(8.2471, 5.3449, 30.7279)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323399 #999832
analogous
#326799 #323399 #643299
triadic
#323399 #993233 #339932
tetradic
#323399 #993267 #999832 #329964
square
#323399 #993267 #999832 #329964
split-complementary
#323399 #996432 #679932
monochromatic
#14143D #23246B #323399 #4647C2 #7475D2

Accessibility & contrast

On white

10.15
#323399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#323399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323399
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323399#FFFFFF#000000##FFFFFF
##3233991.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #323399;
/* rgb */ color: rgb(50, 51, 153);
/* oklch */ color: oklch(39.0% 0.162 275.5);
Tailwind
colors: {
  custom: {
    50: '#776bb8',
    500: '#323399',
    950: '#000000',
  },
}
SCSS
$custom: #323399;
$custom-light: #776bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#323399",
  "rgb": {
    "r": 50,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 239.417,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3903,
    "c": 0.16188,
    "h": 275.5
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#323399
secondary
#BAB96D
accent
#D94EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #323399

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

Preview Lab → · Contrast checker → · Palette generator →

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