#323196#323196

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

Color values

HEX#323196
RGBrgb(50, 49, 150)
HSLhsl(241, 51%, 39%)
HSVhsv(241, 67%, 59%)
CMYKcmyk(66.7%, 67.3%, 0%, 41.2%)
CIE-LABlab(26.95, 33.23, -55.23)
CIE-LCHlch(26.95, 64.46, 301.03°)
OKLaboklab(38.41% 0.0173 -0.1593)
OKLCHoklch(38.41% 0.16 276.2)
XYZxyz(7.9169, 5.0761, 29.4108)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323196 #959631
analogous
#316396 #323196 #653196
triadic
#323196 #963231 #319632
tetradic
#323196 #963163 #959631 #319665
square
#323196 #963163 #959631 #319665
split-complementary
#323196 #966531 #639631
monochromatic
#13133A #232268 #323196 #4443C1 #7271D1

Accessibility & contrast

On white

10.42
#323196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323196
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323196#FFFFFF#000000##FFFFFF
##3231961.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323196;
/* rgb */ color: rgb(50, 49, 150);
/* oklch */ color: oklch(38.4% 0.160 276.2);
Tailwind
colors: {
  custom: {
    50: '#7769b6',
    500: '#323196',
    950: '#000000',
  },
}
SCSS
$custom: #323196;
$custom-light: #7769b6;
$custom-dark: #000000;
JSON
{
  "hex": "#323196",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 240.594,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38405,
    "c": 0.16028,
    "h": 276.2
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#323196
secondary
#B8B86A
accent
#DA4ED9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #323196

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

Preview Lab → · Contrast checker → · Palette generator →

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