#32317B#32317B

#32317B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.122 H 278.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#32317B
RGBrgb(50, 49, 123)
HSLhsl(241, 43%, 34%)
HSVhsv(241, 60%, 48%)
CMYKcmyk(59.3%, 60.2%, 0%, 51.8%)
CIE-LABlab(24.65, 23.72, -42.16)
CIE-LCHlch(24.65, 48.37, 299.36°)
OKLaboklab(36% 0.0189 -0.121)
OKLCHoklch(36% 0.122 278.9)
XYZxyz(5.9877, 4.3044, 19.2504)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32317B #7A7B31
analogous
#31557B #32317B #57317B
triadic
#32317B #7B3231 #317B32
tetradic
#32317B #7B3155 #7A7B31 #317B57
square
#32317B #7B3155 #7A7B31 #317B57
split-complementary
#32317B #7B5731 #557B31
monochromatic
#0E0E23 #20204F #32317B #4442A7 #6665C2

Accessibility & contrast

On white

11.28
#32317B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#32317B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32317B
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32317B#FFFFFF#000000##FFFFFF
##32317B1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#084351
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #32317b;
/* rgb */ color: rgb(50, 49, 123);
/* oklch */ color: oklch(36.0% 0.122 278.9);
Tailwind
colors: {
  custom: {
    50: '#7169a2',
    500: '#32317b',
    950: '#000000',
  },
}
SCSS
$custom: #32317b;
$custom-light: #7169a2;
$custom-dark: #000000;
JSON
{
  "hex": "#32317b",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 240.811,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36005,
    "c": 0.12243,
    "h": 278.9
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#32317B
secondary
#A8A95F
accent
#D355D1
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #32317B

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

Preview Lab → · Contrast checker → · Palette generator →

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