#323796#323796

#323796 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.153 H 274.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#323796
RGBrgb(50, 55, 150)
HSLhsl(237, 50%, 39%)
HSVhsv(237, 67%, 59%)
CMYKcmyk(66.7%, 63.3%, 0%, 41.2%)
CIE-LABlab(28.41, 29.37, -52.84)
CIE-LCHlch(28.41, 60.46, 299.06°)
OKLaboklab(39.47% 0.0124 -0.1523)
OKLCHoklch(39.47% 0.153 274.6)
XYZxyz(8.1848, 5.6118, 29.5001)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323796 #969132
analogous
#326996 #323796 #5F3296
triadic
#323796 #963237 #379632
tetradic
#323796 #963269 #969132 #32965F
square
#323796 #963269 #969132 #32965F
split-complementary
#323796 #965F32 #699632
monochromatic
#13153A #232668 #323796 #444BC1 #7277D0

Accessibility & contrast

On white

9.89
#323796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#323796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323796
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323796#FFFFFF#000000##FFFFFF
##3237961.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323796;
/* rgb */ color: rgb(50, 55, 150);
/* oklch */ color: oklch(39.5% 0.153 274.6);
Tailwind
colors: {
  custom: {
    50: '#766eb6',
    500: '#323796',
    950: '#000000',
  },
}
SCSS
$custom: #323796;
$custom-light: #766eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#323796",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 237,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39472,
    "c": 0.15281,
    "h": 274.6
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#323796
secondary
#B8B46C
accent
#D34EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323796

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

Preview Lab → · Contrast checker → · Palette generator →

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