#5D4EC0#5D4EC0

#5D4EC0 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.172 H 284.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5D4EC0
RGBrgb(93, 78, 192)
HSLhsl(248, 48%, 53%)
HSVhsv(248, 59%, 75%)
CMYKcmyk(51.6%, 59.4%, 0%, 24.7%)
CIE-LABlab(40.54, 36.61, -58.05)
CIE-LCHlch(40.54, 68.63, 302.24°)
OKLaboklab(50.26% 0.0426 -0.1662)
OKLCHoklch(50.26% 0.172 284.4)
XYZxyz(16.7502, 11.5808, 51.2117)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EC0 #B1C04E
analogous
#4E78C0 #5D4EC0 #964EC0
triadic
#5D4EC0 #C05D4E #4EC05D
tetradic
#5D4EC0 #C04E78 #B1C04E #4EC096
square
#5D4EC0 #C04E78 #B1C04E #4EC096
split-complementary
#5D4EC0 #C0964E #78C04E
monochromatic
#30276D #44379A #5D4EC0 #867BD0 #B0A8E0

Accessibility & contrast

On white

6.33
#5D4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5D4EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EC0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EC0#FFFFFF#000000##FFFFFF
##5D4EC01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#36697F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d4ec0;
/* rgb */ color: rgb(93, 78, 192);
/* oklch */ color: oklch(50.3% 0.172 284.4);
Tailwind
colors: {
  custom: {
    50: '#9380d4',
    500: '#5d4ec0',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ec0;
$custom-light: #9380d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ec0",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 247.895,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50261,
    "c": 0.17158,
    "h": 284.4
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#5D4EC0
secondary
#C7CE9C
accent
#D751C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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