#32319E#32319E

#32319E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.171 H 275.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#32319E
RGBrgb(50, 49, 158)
HSLhsl(241, 53%, 41%)
HSVhsv(241, 69%, 62%)
CMYKcmyk(68.4%, 69%, 0%, 38%)
CIE-LABlab(27.69, 36.01, -58.91)
CIE-LCHlch(27.69, 69.04, 301.43°)
OKLaboklab(39.17% 0.0163 -0.1701)
OKLCHoklch(39.17% 0.171 275.5)
XYZxyz(8.5832, 5.3426, 32.9200)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32319E #9D9E31
analogous
#31679E #32319E #68319E
triadic
#32319E #9E3231 #319E32
tetradic
#32319E #9E3167 #9D9E31 #319E68
square
#32319E #9E3167 #9D9E31 #319E68
split-complementary
#32319E #9E6831 #679E31
monochromatic
#141441 #23236F #32319E #4846C6 #7675D4

Accessibility & contrast

On white

10.15
#32319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#32319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32319E
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32319E#FFFFFF#000000##FFFFFF
##32319E1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32319e;
/* rgb */ color: rgb(50, 49, 158);
/* oklch */ color: oklch(39.2% 0.171 275.5);
Tailwind
colors: {
  custom: {
    50: '#796abc',
    500: '#32319e',
    950: '#000000',
  },
}
SCSS
$custom: #32319e;
$custom-light: #796abc;
$custom-dark: #000000;
JSON
{
  "hex": "#32319e",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 240.55,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39166,
    "c": 0.17089,
    "h": 275.5
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32319E

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

Preview Lab → · Contrast checker → · Palette generator →

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