#323191#323191

#323191 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.154 H 276.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#323191
RGBrgb(50, 49, 145)
HSLhsl(241, 49%, 38%)
HSVhsv(241, 66%, 57%)
CMYKcmyk(65.5%, 66.2%, 0%, 43.1%)
CIE-LABlab(26.50, 31.48, -52.89)
CIE-LCHlch(26.50, 61.55, 300.76°)
OKLaboklab(37.94% 0.0178 -0.1525)
OKLCHoklch(37.94% 0.154 276.7)
XYZxyz(7.5229, 4.9184, 27.3355)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323191 #909131
analogous
#316091 #323191 #623191
triadic
#323191 #913231 #319132
tetradic
#323191 #913160 #909131 #319162
square
#323191 #913160 #909131 #319162
split-complementary
#323191 #916231 #609131
monochromatic
#121236 #222263 #323191 #4241BF #6F6ECE

Accessibility & contrast

On white

10.59
#323191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#323191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323191
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323191#FFFFFF#000000##FFFFFF
##3231911.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #323191;
/* rgb */ color: rgb(50, 49, 145);
/* oklch */ color: oklch(37.9% 0.154 276.7);
Tailwind
colors: {
  custom: {
    50: '#7669b2',
    500: '#323191',
    950: '#000000',
  },
}
SCSS
$custom: #323191;
$custom-light: #7669b2;
$custom-dark: #000000;
JSON
{
  "hex": "#323191",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 240.625,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37939,
    "c": 0.15351,
    "h": 276.7
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#323191
secondary
#B5B668
accent
#D94FD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #323191

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

Preview Lab → · Contrast checker → · Palette generator →

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