#5D4DCD#5D4DCD

#5D4DCD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.1% C 0.190 H 283.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5D4DCD
RGBrgb(93, 77, 205)
HSLhsl(248, 56%, 55%)
HSVhsv(248, 62%, 80%)
CMYKcmyk(54.6%, 62.4%, 0%, 19.6%)
CIE-LABlab(41.28, 41.20, -64.39)
CIE-LCHlch(41.28, 76.45, 302.61°)
OKLaboklab(51.11% 0.0429 -0.1849)
OKLCHoklch(51.11% 0.19 283.1)
XYZxyz(18.1841, 12.0416, 59.1118)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DCD #BDCD4D
analogous
#4D7DCD #5D4DCD #9D4DCD
triadic
#5D4DCD #CD5D4D #4DCD5D
tetradic
#5D4DCD #CD4D7D #BDCD4D #4DCD9D
square
#5D4DCD #CD4D7D #BDCD4D #4DCD9D
split-complementary
#5D4DCD #CD9D4D #7DCD4D
monochromatic
#2E237D #4030AC #5D4DCD #887DDA #B4ADE8

Accessibility & contrast

On white

6.16
#5D4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5D4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DCD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DCD#FFFFFF#000000##FFFFFF
##5D4DCD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#296C86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d4dcd;
/* rgb */ color: rgb(93, 77, 205);
/* oklch */ color: oklch(51.1% 0.190 283.1);
Tailwind
colors: {
  custom: {
    50: '#9580dd',
    500: '#5d4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5d4dcd;
$custom-light: #9580dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4dcd",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 247.5,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.18979,
    "h": 283.1
  },
  "luminance": 0.12043
}

Semantic roles & 50–950 ramp

primary
#5D4DCD
secondary
#CFD6A0
accent
#DF48CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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