#323792#323792

#323792 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.147 H 274.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#323792
RGBrgb(50, 55, 146)
HSLhsl(237, 49%, 38%)
HSVhsv(237, 66%, 57%)
CMYKcmyk(65.8%, 62.3%, 0%, 42.7%)
CIE-LABlab(28.07, 27.94, -50.94)
CIE-LCHlch(28.07, 58.10, 298.74°)
OKLaboklab(39.12% 0.0125 -0.1467)
OKLCHoklch(39.12% 0.147 274.9)
XYZxyz(7.8682, 5.4851, 27.8327)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323792 #928D32
analogous
#326792 #323792 #5D3292
triadic
#323792 #923237 #379232
tetradic
#323792 #923267 #928D32 #32925D
square
#323792 #923267 #928D32 #32925D
split-complementary
#323792 #925D32 #679232
monochromatic
#131537 #222664 #323792 #4349BF #7075CE

Accessibility & contrast

On white

10.01
#323792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#323792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323792
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323792#FFFFFF#000000##FFFFFF
##3237921.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #323792;
/* rgb */ color: rgb(50, 55, 146);
/* oklch */ color: oklch(39.1% 0.147 274.9);
Tailwind
colors: {
  custom: {
    50: '#766eb3',
    500: '#323792',
    950: '#000000',
  },
}
SCSS
$custom: #323792;
$custom-light: #766eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#323792",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 236.875,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39119,
    "c": 0.14725,
    "h": 274.9
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#323792
secondary
#B6B26A
accent
#D14FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323792

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

Preview Lab → · Contrast checker → · Palette generator →

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