#5D4AC0#5D4AC0

#5D4AC0 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.6% C 0.177 H 285.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5D4AC0
RGBrgb(93, 74, 192)
HSLhsl(250, 48%, 52%)
HSVhsv(250, 61%, 75%)
CMYKcmyk(51.6%, 61.5%, 0%, 24.7%)
CIE-LABlab(39.63, 38.99, -59.53)
CIE-LCHlch(39.63, 71.16, 303.23°)
OKLaboklab(49.59% 0.0467 -0.1706)
OKLCHoklch(49.59% 0.177 285.3)
XYZxyz(16.4746, 11.0296, 51.1198)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4AC0 #ADC04A
analogous
#4A72C0 #5D4AC0 #984AC0
triadic
#5D4AC0 #C05D4A #4AC05D
tetradic
#5D4AC0 #C04A72 #ADC04A #4AC098
square
#5D4AC0 #C04A72 #ADC04A #4AC098
split-complementary
#5D4AC0 #C0984A #72C04A
monochromatic
#30256B #453598 #5D4AC0 #8677D0 #AEA5E0

Accessibility & contrast

On white

6.55
#5D4AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5D4AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4AC0
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4AC0#FFFFFF#000000##FFFFFF
##5D4AC01.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#37667E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5d4ac0;
/* rgb */ color: rgb(93, 74, 192);
/* oklch */ color: oklch(49.6% 0.177 285.3);
Tailwind
colors: {
  custom: {
    50: '#937dd4',
    500: '#5d4ac0',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ac0;
$custom-light: #937dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ac0",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 249.661,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49593,
    "c": 0.17688,
    "h": 285.3
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#5D4AC0
secondary
#C4CD99
accent
#D850C2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4AC0

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

Preview Lab → · Contrast checker → · Palette generator →

#5D4AC0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva