#32317E#32317E

#32317E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.127 H 278.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#32317E
RGBrgb(50, 49, 126)
HSLhsl(241, 44%, 34%)
HSVhsv(241, 61%, 49%)
CMYKcmyk(60.3%, 61.1%, 0%, 50.6%)
CIE-LABlab(24.89, 24.78, -43.67)
CIE-LCHlch(24.89, 50.21, 299.58°)
OKLaboklab(36.26% 0.0189 -0.1254)
OKLCHoklch(36.26% 0.127 278.6)
XYZxyz(6.1784, 4.3807, 20.2546)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32317E #7D7E31
analogous
#31577E #32317E #59317E
triadic
#32317E #7E3231 #317E32
tetradic
#32317E #7E3157 #7D7E31 #317E59
square
#32317E #7E3157 #7D7E31 #317E59
split-complementary
#32317E #7E5931 #577E31
monochromatic
#0F0F26 #212052 #32317E #4342AA #6766C3

Accessibility & contrast

On white

11.19
#32317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#32317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32317E
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32317E#FFFFFF#000000##FFFFFF
##32317E1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#014352
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #32317e;
/* rgb */ color: rgb(50, 49, 126);
/* oklch */ color: oklch(36.3% 0.127 278.6);
Tailwind
colors: {
  custom: {
    50: '#7269a4',
    500: '#32317e',
    950: '#000000',
  },
}
SCSS
$custom: #32317e;
$custom-light: #7269a4;
$custom-dark: #000000;
JSON
{
  "hex": "#32317e",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 240.779,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36257,
    "c": 0.12681,
    "h": 278.6
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#32317E
secondary
#AAAB60
accent
#D454D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #32317E

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

Preview Lab → · Contrast checker → · Palette generator →

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