#32319C#32319C

#32319C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.168 H 275.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#32319C
RGBrgb(50, 49, 156)
HSLhsl(241, 52%, 40%)
HSVhsv(241, 69%, 61%)
CMYKcmyk(67.9%, 68.6%, 0%, 38.8%)
CIE-LABlab(27.50, 35.32, -58.00)
CIE-LCHlch(27.50, 67.90, 301.34°)
OKLaboklab(38.97% 0.0166 -0.1674)
OKLCHoklch(38.97% 0.168 275.7)
XYZxyz(8.4125, 5.2743, 32.0208)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32319C #9B9C31
analogous
#31659C #32319C #68319C
triadic
#32319C #9C3231 #319C32
tetradic
#32319C #9C3165 #9B9C31 #319C68
square
#32319C #9C3165 #9B9C31 #319C68
split-complementary
#32319C #9C6831 #659C31
monochromatic
#14143F #23226D #32319C #4745C5 #7574D3

Accessibility & contrast

On white

10.22
#32319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#32319C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32319C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32319C#FFFFFF#000000##FFFFFF
##32319C1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #32319c;
/* rgb */ color: rgb(50, 49, 156);
/* oklch */ color: oklch(39.0% 0.168 275.7);
Tailwind
colors: {
  custom: {
    50: '#786aba',
    500: '#32319c',
    950: '#000000',
  },
}
SCSS
$custom: #32319c;
$custom-light: #786aba;
$custom-dark: #000000;
JSON
{
  "hex": "#32319c",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 240.561,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38974,
    "c": 0.16826,
    "h": 275.7
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#32319C
secondary
#BBBB6D
accent
#DC4CDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #32319C

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

Preview Lab → · Contrast checker → · Palette generator →

#32319C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva