#5D47DE#5D47DE

#5D47DE is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.218 H 282.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5D47DE
RGBrgb(93, 71, 222)
HSLhsl(249, 70%, 57%)
HSVhsv(249, 68%, 87%)
CMYKcmyk(58.1%, 68%, 0%, 12.9%)
CIE-LABlab(41.38, 49.79, -73.99)
CIE-LCHlch(41.38, 89.18, 303.94°)
OKLaboklab(51.61% 0.0462 -0.213)
OKLCHoklch(51.61% 0.218 282.2)
XYZxyz(19.9482, 12.1062, 70.3786)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47DE #C8DE47
analogous
#477CDE #5D47DE #A947DE
triadic
#5D47DE #DE5D47 #47DE5D
tetradic
#5D47DE #DE477C #C8DE47 #47DEA9
square
#5D47DE #DE477C #C8DE47 #47DEA9
split-complementary
#5D47DE #DEA947 #7CDE47
monochromatic
#2B1A91 #3B23C5 #5D47DE #8B7BE7 #B8AFF1

Accessibility & contrast

On white

6.14
#5D47DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5D47DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47DE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47DE#FFFFFF#000000##FFFFFF
##5D47DE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#005CDB
Tritanopia (blue-blind)
#076F8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d47de;
/* rgb */ color: rgb(93, 71, 222);
/* oklch */ color: oklch(51.6% 0.218 282.2);
Tailwind
colors: {
  custom: {
    50: '#987ce9',
    500: '#5d47de',
    950: '#000000',
  },
}
SCSS
$custom: #5d47de;
$custom-light: #987ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47de",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 248.742,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51607,
    "c": 0.21799,
    "h": 282.2
  },
  "luminance": 0.12108
}

Semantic roles & 50–950 ramp

primary
#5D47DE
secondary
#D6DFA2
accent
#EC3BD3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D47DE

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

Preview Lab → · Contrast checker → · Palette generator →

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