#5D47E4#5D47E4

#5D47E4 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.1% C 0.225 H 281.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5D47E4
RGBrgb(93, 71, 228)
HSLhsl(248, 74%, 59%)
HSVhsv(248, 69%, 89%)
CMYKcmyk(59.2%, 68.9%, 0%, 10.6%)
CIE-LABlab(41.90, 51.59, -76.56)
CIE-LCHlch(41.90, 92.32, 303.97°)
OKLaboklab(52.13% 0.0452 -0.2206)
OKLCHoklch(52.13% 0.225 281.6)
XYZxyz(20.7666, 12.4336, 74.6894)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47E4 #CEE447
analogous
#477FE4 #5D47E4 #AC47E4
triadic
#5D47E4 #E45D47 #47E45D
tetradic
#5D47E4 #E4477F #CEE447 #47E4AC
square
#5D47E4 #E4477F #CEE447 #47E4AC
split-complementary
#5D47E4 #E4AC47 #7FE447
monochromatic
#29179A #371ECF #5D47E4 #8C7CEC #BBB2F4

Accessibility & contrast

On white

6.02
#5D47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5D47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47E4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47E4#FFFFFF#000000##FFFFFF
##5D47E41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E9
Deuteranopia (green-blind)
#005DE1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d47e4;
/* rgb */ color: rgb(93, 71, 228);
/* oklch */ color: oklch(52.1% 0.225 281.6);
Tailwind
colors: {
  custom: {
    50: '#997cee',
    500: '#5d47e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d47e4;
$custom-light: #997cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47e4",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 248.408,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.22519,
    "h": 281.6
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#5D47E4
secondary
#DAE2A4
accent
#F137D7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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