#32319B#32319B

#32319B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.167 H 275.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#32319B
RGBrgb(50, 49, 155)
HSLhsl(241, 52%, 40%)
HSVhsv(241, 68%, 61%)
CMYKcmyk(67.7%, 68.4%, 0%, 39.2%)
CIE-LABlab(27.41, 34.97, -57.54)
CIE-LCHlch(27.41, 67.33, 301.29°)
OKLaboklab(38.88% 0.0167 -0.1661)
OKLCHoklch(38.88% 0.167 275.7)
XYZxyz(8.3282, 5.2406, 31.5766)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32319B #9A9B31
analogous
#31659B #32319B #67319B
triadic
#32319B #9B3231 #319B32
tetradic
#32319B #9B3165 #9A9B31 #319B67
square
#32319B #9B3165 #9A9B31 #319B67
split-complementary
#32319B #9B6731 #659B31
monochromatic
#14143E #23226D #32319B #4645C4 #7473D3

Accessibility & contrast

On white

10.25
#32319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#32319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32319B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32319B#FFFFFF#000000##FFFFFF
##32319B1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #32319b;
/* rgb */ color: rgb(50, 49, 155);
/* oklch */ color: oklch(38.9% 0.167 275.7);
Tailwind
colors: {
  custom: {
    50: '#786ab9',
    500: '#32319b',
    950: '#000000',
  },
}
SCSS
$custom: #32319b;
$custom-light: #786ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#32319b",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 240.566,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.16694,
    "h": 275.7
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#32319B
secondary
#BABB6D
accent
#DB4CDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #32319B

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

Preview Lab → · Contrast checker → · Palette generator →

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