#5D47CE#5D47CE

#5D47CE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.2% C 0.198 H 284.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5D47CE
RGBrgb(93, 71, 206)
HSLhsl(250, 58%, 54%)
HSVhsv(250, 66%, 81%)
CMYKcmyk(54.9%, 65.5%, 0%, 19.2%)
CIE-LABlab(40.06, 44.97, -66.96)
CIE-LCHlch(40.06, 80.66, 303.89°)
OKLaboklab(50.25% 0.0484 -0.1924)
OKLCHoklch(50.25% 0.198 284.1)
XYZxyz(17.9046, 11.2888, 59.6161)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47CE #B8CE47
analogous
#4775CE #5D47CE #A147CE
triadic
#5D47CE #CE5D47 #47CE5D
tetradic
#5D47CE #CE4775 #B8CE47 #47CEA1
square
#5D47CE #CE4775 #B8CE47 #47CEA1
split-complementary
#5D47CE #CEA147 #75CE47
monochromatic
#2F217A #422DAA #5D47CE #8877DB #B2A8E8

Accessibility & contrast

On white

6.45
#5D47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5D47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47CE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47CE#FFFFFF#000000##FFFFFF
##5D47CE1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#296984
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d47ce;
/* rgb */ color: rgb(93, 71, 206);
/* oklch */ color: oklch(50.2% 0.198 284.1);
Tailwind
colors: {
  custom: {
    50: '#957cde',
    500: '#5d47ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d47ce;
$custom-light: #957cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47ce",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 249.778,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.19842,
    "h": 284.1
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#5D47CE
secondary
#CCD59C
accent
#E147C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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