#323790#323790

#323790 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.144 H 275.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#323790
RGBrgb(50, 55, 144)
HSLhsl(237, 48%, 38%)
HSVhsv(237, 65%, 56%)
CMYKcmyk(65.3%, 61.8%, 0%, 43.5%)
CIE-LABlab(27.91, 27.22, -49.98)
CIE-LCHlch(27.91, 56.91, 298.57°)
OKLaboklab(38.95% 0.0126 -0.1439)
OKLCHoklch(38.95% 0.144 275)
XYZxyz(7.7140, 5.4235, 27.0205)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323790 #908B32
analogous
#326690 #323790 #5C3290
triadic
#323790 #903237 #379032
tetradic
#323790 #903266 #908B32 #32905C
square
#323790 #903266 #908B32 #32905C
split-complementary
#323790 #905C32 #669032
monochromatic
#121435 #222663 #323790 #4248BD #6F74CD

Accessibility & contrast

On white

10.07
#323790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#323790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323790
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323790#FFFFFF#000000##FFFFFF
##3237901.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #323790;
/* rgb */ color: rgb(50, 55, 144);
/* oklch */ color: oklch(38.9% 0.144 275.0);
Tailwind
colors: {
  custom: {
    50: '#756eb1',
    500: '#323790',
    950: '#000000',
  },
}
SCSS
$custom: #323790;
$custom-light: #756eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#323790",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 236.809,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38945,
    "c": 0.14444,
    "h": 275
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#323790
secondary
#B5B169
accent
#D150D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323790

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

Preview Lab → · Contrast checker → · Palette generator →

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