#5D4DCF#5D4DCF

#5D4DCF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.3% C 0.192 H 282.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5D4DCF
RGBrgb(93, 77, 207)
HSLhsl(247, 58%, 56%)
HSVhsv(247, 63%, 81%)
CMYKcmyk(55.1%, 62.8%, 0%, 18.8%)
CIE-LABlab(41.44, 41.82, -65.30)
CIE-LCHlch(41.44, 77.54, 302.64°)
OKLaboklab(51.27% 0.0427 -0.1875)
OKLCHoklch(51.27% 0.192 282.8)
XYZxyz(18.4271, 12.1388, 60.3914)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DCF #BFCF4D
analogous
#4D7ECF #5D4DCF #9E4DCF
triadic
#5D4DCF #CF5D4D #4DCF5D
tetradic
#5D4DCF #CF4D7E #BFCF4D #4DCF9E
square
#5D4DCF #CF4D7E #BFCF4D #4DCF9E
split-complementary
#5D4DCF #CF9E4D #7ECF4D
monochromatic
#2E227F #3F2FAF #5D4DCF #897DDC #B5ADE9

Accessibility & contrast

On white

6.13
#5D4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5D4DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DCF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DCF#FFFFFF#000000##FFFFFF
##5D4DCF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#276D87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4dcf;
/* rgb */ color: rgb(93, 77, 207);
/* oklch */ color: oklch(51.3% 0.192 282.8);
Tailwind
colors: {
  custom: {
    50: '#9580df',
    500: '#5d4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4dcf;
$custom-light: #9580df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4dcf",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 247.385,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.19233,
    "h": 282.8
  },
  "luminance": 0.1214
}

Semantic roles & 50–950 ramp

primary
#5D4DCF
secondary
#D0D7A1
accent
#E147CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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