#5D4CC5#5D4CC5

#5D4CC5 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.3% C 0.181 H 284.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5D4CC5
RGBrgb(93, 76, 197)
HSLhsl(248, 51%, 54%)
HSVhsv(248, 61%, 77%)
CMYKcmyk(52.8%, 61.4%, 0%, 22.7%)
CIE-LABlab(40.45, 39.34, -61.11)
CIE-LCHlch(40.45, 72.67, 302.77°)
OKLaboklab(50.31% 0.0444 -0.1752)
OKLCHoklch(50.31% 0.181 284.2)
XYZxyz(17.1736, 11.5263, 54.1324)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CC5 #B4C54C
analogous
#4C77C5 #5D4CC5 #994CC5
triadic
#5D4CC5 #C55D4C #4CC55D
tetradic
#5D4CC5 #C54C77 #B4C54C #4CC599
square
#5D4CC5 #C54C77 #B4C54C #4CC599
split-complementary
#5D4CC5 #C5994C #77C54C
monochromatic
#302572 #4334A0 #5D4CC5 #877AD4 #B1A8E3

Accessibility & contrast

On white

6.35
#5D4CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5D4CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CC5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CC5#FFFFFF#000000##FFFFFF
##5D4CC51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#326981
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d4cc5;
/* rgb */ color: rgb(93, 76, 197);
/* oklch */ color: oklch(50.3% 0.181 284.2);
Tailwind
colors: {
  custom: {
    50: '#947fd7',
    500: '#5d4cc5',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cc5;
$custom-light: #947fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cc5",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 248.43,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50312,
    "c": 0.18076,
    "h": 284.2
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

primary
#5D4CC5
secondary
#C9D09C
accent
#DB4DC7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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