#5D47E3#5D47E3

#5D47E3 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.0% C 0.224 H 281.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5D47E3
RGBrgb(93, 71, 227)
HSLhsl(248, 74%, 58%)
HSVhsv(248, 69%, 89%)
CMYKcmyk(59%, 68.7%, 0%, 11%)
CIE-LABlab(41.81, 51.29, -76.14)
CIE-LCHlch(41.81, 91.80, 303.97°)
OKLaboklab(52.04% 0.0454 -0.2193)
OKLCHoklch(52.04% 0.224 281.7)
XYZxyz(20.6282, 12.3783, 73.9604)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47E3 #CDE347
analogous
#477FE3 #5D47E3 #AB47E3
triadic
#5D47E3 #E35D47 #47E35D
tetradic
#5D47E3 #E3477F #CDE347 #47E3AB
square
#5D47E3 #E3477F #CDE347 #47E3AB
split-complementary
#5D47E3 #E3AB47 #7FE347
monochromatic
#291798 #381FCE #5D47E3 #8C7CEB #BBB1F3

Accessibility & contrast

On white

6.04
#5D47E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5D47E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47E3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47E3#FFFFFF#000000##FFFFFF
##5D47E31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E8
Deuteranopia (green-blind)
#005DE0
Tritanopia (blue-blind)
#007090
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d47e3;
/* rgb */ color: rgb(93, 71, 227);
/* oklch */ color: oklch(52.0% 0.224 281.7);
Tailwind
colors: {
  custom: {
    50: '#997ced',
    500: '#5d47e3',
    950: '#000000',
  },
}
SCSS
$custom: #5d47e3;
$custom-light: #997ced;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47e3",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 227
  },
  "hsl": {
    "h": 248.462,
    "s": 73.585,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52044,
    "c": 0.22399,
    "h": 281.7
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#5D47E3
secondary
#D9E2A4
accent
#F038D6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D47E3

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

Preview Lab → · Contrast checker → · Palette generator →

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