#5D4FC0#5D4FC0

#5D4FC0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.170 H 284.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5D4FC0
RGBrgb(93, 79, 192)
HSLhsl(247, 47%, 53%)
HSVhsv(247, 59%, 75%)
CMYKcmyk(51.6%, 58.9%, 0%, 24.7%)
CIE-LABlab(40.77, 36.01, -57.67)
CIE-LCHlch(40.77, 67.99, 301.98°)
OKLaboklab(50.43% 0.0415 -0.1651)
OKLCHoklch(50.43% 0.17 284.1)
XYZxyz(16.8217, 11.7240, 51.2355)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FC0 #B2C04F
analogous
#4F79C0 #5D4FC0 #964FC0
triadic
#5D4FC0 #C05D4F #4FC05D
tetradic
#5D4FC0 #C04F79 #B2C04F #4FC096
square
#5D4FC0 #C04F79 #B2C04F #4FC096
split-complementary
#5D4FC0 #C0964F #79C04F
monochromatic
#30276D #44379A #5D4FC0 #867CD0 #B0A9E0

Accessibility & contrast

On white

6.28
#5D4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5D4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FC0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FC0#FFFFFF#000000##FFFFFF
##5D4FC01.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#366980
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d4fc0;
/* rgb */ color: rgb(93, 79, 192);
/* oklch */ color: oklch(50.4% 0.170 284.1);
Tailwind
colors: {
  custom: {
    50: '#9381d4',
    500: '#5d4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fc0;
$custom-light: #9381d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fc0",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 247.434,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.17024,
    "h": 284.1
  },
  "luminance": 0.11725
}

Semantic roles & 50–950 ramp

primary
#5D4FC0
secondary
#C8CE9D
accent
#D751C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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