#5D4DE5#5D4DE5

#5D4DE5 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.1% C 0.220 H 280.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5D4DE5
RGBrgb(93, 77, 229)
HSLhsl(246, 75%, 60%)
HSVhsv(246, 66%, 90%)
CMYKcmyk(59.4%, 66.4%, 0%, 10.2%)
CIE-LABlab(43.20, 48.57, -75.00)
CIE-LCHlch(43.20, 89.35, 302.93°)
OKLaboklab(53.09% 0.0404 -0.216)
OKLCHoklch(53.09% 0.22 280.6)
XYZxyz(21.3065, 13.2905, 75.5561)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DE5 #D5E54D
analogous
#4D89E5 #5D4DE5 #A94DE5
triadic
#5D4DE5 #E55D4D #4DE55D
tetradic
#5D4DE5 #E54D89 #D5E54D #4DE5A9
square
#5D4DE5 #E54D89 #D5E54D #4DE5A9
split-complementary
#5D4DE5 #E5A94D #89E54D
monochromatic
#2617A0 #321FD6 #5D4DE5 #8E82ED #BEB8F5

Accessibility & contrast

On white

5.74
#5D4DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5D4DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DE5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DE5#FFFFFF#000000##FFFFFF
##5D4DE51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d4de5;
/* rgb */ color: rgb(93, 77, 229);
/* oklch */ color: oklch(53.1% 0.220 280.6);
Tailwind
colors: {
  custom: {
    50: '#9880ee',
    500: '#5d4de5',
    950: '#000000',
  },
}
SCSS
$custom: #5d4de5;
$custom-light: #9880ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4de5",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 246.316,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.21976,
    "h": 280.6
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#5D4DE5
secondary
#DEE4AA
accent
#F137DE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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