#32319D#32319D

#32319D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.170 H 275.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#32319D
RGBrgb(50, 49, 157)
HSLhsl(241, 52%, 40%)
HSVhsv(241, 69%, 62%)
CMYKcmyk(68.2%, 68.8%, 0%, 38.4%)
CIE-LABlab(27.60, 35.66, -58.45)
CIE-LCHlch(27.60, 68.47, 301.39°)
OKLaboklab(39.07% 0.0165 -0.1688)
OKLCHoklch(39.07% 0.17 275.6)
XYZxyz(8.4975, 5.3083, 32.4685)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32319D #9C9D31
analogous
#31669D #32319D #68319D
triadic
#32319D #9D3231 #319D32
tetradic
#32319D #9D3166 #9C9D31 #319D68
square
#32319D #9D3166 #9C9D31 #319D68
split-complementary
#32319D #9D6831 #669D31
monochromatic
#141440 #23226E #32319D #4746C5 #7575D4

Accessibility & contrast

On white

10.19
#32319D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32319D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32319D#FFFFFF#000000##FFFFFF
##32319D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #32319d;
/* rgb */ color: rgb(50, 49, 157);
/* oklch */ color: oklch(39.1% 0.170 275.6);
Tailwind
colors: {
  custom: {
    50: '#786abb',
    500: '#32319d',
    950: '#000000',
  },
}
SCSS
$custom: #32319d;
$custom-light: #786abb;
$custom-dark: #000000;
JSON
{
  "hex": "#32319d",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 240.556,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3907,
    "c": 0.16958,
    "h": 275.6
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#32319D
secondary
#BBBC6E
accent
#DC4CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #32319D

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

Preview Lab → · Contrast checker → · Palette generator →

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