#5D4AC8#5D4AC8

#5D4AC8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.2% C 0.187 H 284.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5D4AC8
RGBrgb(93, 74, 200)
HSLhsl(249, 53%, 54%)
HSVhsv(249, 63%, 78%)
CMYKcmyk(53.5%, 63%, 0%, 21.6%)
CIE-LABlab(40.24, 41.43, -63.20)
CIE-LCHlch(40.24, 75.57, 303.24°)
OKLaboklab(50.22% 0.0462 -0.1814)
OKLCHoklch(50.22% 0.187 284.3)
XYZxyz(17.3852, 11.3939, 55.9155)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4AC8 #B5C84A
analogous
#4A76C8 #5D4AC8 #9C4AC8
triadic
#5D4AC8 #C85D4A #4AC85D
tetradic
#5D4AC8 #C84A76 #B5C84A #4AC89C
square
#5D4AC8 #C84A76 #B5C84A #4AC89C
split-complementary
#5D4AC8 #C89C4A #76C84A
monochromatic
#302374 #4332A3 #5D4AC8 #8779D6 #B1A8E5

Accessibility & contrast

On white

6.40
#5D4AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5D4AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4AC8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4AC8#FFFFFF#000000##FFFFFF
##5D4AC81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#2F6982
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d4ac8;
/* rgb */ color: rgb(93, 74, 200);
/* oklch */ color: oklch(50.2% 0.187 284.3);
Tailwind
colors: {
  custom: {
    50: '#947dda',
    500: '#5d4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ac8;
$custom-light: #947dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ac8",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 249.048,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50225,
    "c": 0.18716,
    "h": 284.3
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#5D4AC8
secondary
#CAD29C
accent
#DD4BC7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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