#323096#323096

#323096 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.161 H 276.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#323096
RGBrgb(50, 48, 150)
HSLhsl(241, 52%, 39%)
HSVhsv(241, 68%, 59%)
CMYKcmyk(66.7%, 68%, 0%, 41.2%)
CIE-LABlab(26.72, 33.86, -55.62)
CIE-LCHlch(26.72, 65.11, 301.33°)
OKLaboklab(38.24% 0.0181 -0.1605)
OKLCHoklch(38.24% 0.161 276.4)
XYZxyz(7.8756, 4.9934, 29.3970)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323096 #949630
analogous
#306196 #323096 #653096
triadic
#323096 #963230 #309632
tetradic
#323096 #963061 #949630 #309665
square
#323096 #963061 #949630 #309665
split-complementary
#323096 #966530 #619630
monochromatic
#131239 #232168 #323096 #4441C2 #716FD1

Accessibility & contrast

On white

10.51
#323096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#323096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323096
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323096#FFFFFF#000000##FFFFFF
##3230961.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323096;
/* rgb */ color: rgb(50, 48, 150);
/* oklch */ color: oklch(38.2% 0.161 276.4);
Tailwind
colors: {
  custom: {
    50: '#7769b6',
    500: '#323096',
    950: '#000000',
  },
}
SCSS
$custom: #323096;
$custom-light: #7769b6;
$custom-dark: #000000;
JSON
{
  "hex": "#323096",
  "rgb": {
    "r": 50,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 241.176,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38235,
    "c": 0.16149,
    "h": 276.4
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#323096
secondary
#B7B969
accent
#DB4DD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #323096

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

Preview Lab → · Contrast checker → · Palette generator →

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