#5D4EC8#5D4EC8

#5D4EC8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.9% C 0.182 H 283.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5D4EC8
RGBrgb(93, 78, 200)
HSLhsl(247, 53%, 55%)
HSVhsv(247, 61%, 78%)
CMYKcmyk(53.5%, 61%, 0%, 21.6%)
CIE-LABlab(41.13, 39.07, -61.75)
CIE-LCHlch(41.13, 73.07, 302.32°)
OKLaboklab(50.88% 0.0422 -0.1771)
OKLCHoklch(50.88% 0.182 283.4)
XYZxyz(17.6607, 11.9451, 56.0074)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EC8 #B9C84E
analogous
#4E7CC8 #5D4EC8 #9A4EC8
triadic
#5D4EC8 #C85D4E #4EC85D
tetradic
#5D4EC8 #C84E7C #B9C84E #4EC89A
square
#5D4EC8 #C84E7C #B9C84E #4EC89A
split-complementary
#5D4EC8 #C89A4E #7CC84E
monochromatic
#2F2577 #4133A5 #5D4EC8 #887DD7 #B2ABE5

Accessibility & contrast

On white

6.20
#5D4EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5D4EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EC8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EC8#FFFFFF#000000##FFFFFF
##5D4EC81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#2F6B83
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d4ec8;
/* rgb */ color: rgb(93, 78, 200);
/* oklch */ color: oklch(50.9% 0.182 283.4);
Tailwind
colors: {
  custom: {
    50: '#9480da',
    500: '#5d4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ec8;
$custom-light: #9480da;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ec8",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 247.377,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.18206,
    "h": 283.4
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#5D4EC8
secondary
#CCD39F
accent
#DC4CCA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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