#5D4DCC#5D4DCC

#5D4DCC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.0% C 0.189 H 283.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5D4DCC
RGBrgb(93, 77, 204)
HSLhsl(248, 55%, 55%)
HSVhsv(248, 62%, 80%)
CMYKcmyk(54.4%, 62.3%, 0%, 20%)
CIE-LABlab(41.21, 40.89, -63.94)
CIE-LCHlch(41.21, 75.90, 302.60°)
OKLaboklab(51.03% 0.0429 -0.1835)
OKLCHoklch(51.03% 0.189 283.2)
XYZxyz(18.0638, 11.9935, 58.4782)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DCC #BCCC4D
analogous
#4D7CCC #5D4DCC #9C4DCC
triadic
#5D4DCC #CC5D4D #4DCC5D
tetradic
#5D4DCC #CC4D7C #BCCC4D #4DCC9C
square
#5D4DCC #CC4D7C #BCCC4D #4DCC9C
split-complementary
#5D4DCC #CC9C4D #7CCC4D
monochromatic
#2E237B #4031AB #5D4DCC #887DDA #B4ACE7

Accessibility & contrast

On white

6.18
#5D4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5D4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DCC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DCC#FFFFFF#000000##FFFFFF
##5D4DCC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#2B6C85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d4dcc;
/* rgb */ color: rgb(93, 77, 204);
/* oklch */ color: oklch(51.0% 0.189 283.2);
Tailwind
colors: {
  custom: {
    50: '#9580dc',
    500: '#5d4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #5d4dcc;
$custom-light: #9580dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4dcc",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 247.559,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.18851,
    "h": 283.2
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#5D4DCC
secondary
#CED5A0
accent
#DF49CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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