#5D46D6#5D46D6

#5D46D6 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.209 H 283.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5D46D6
RGBrgb(93, 70, 214)
HSLhsl(250, 64%, 56%)
HSVhsv(250, 67%, 84%)
CMYKcmyk(56.5%, 67.3%, 0%, 16.1%)
CIE-LABlab(40.51, 47.94, -70.84)
CIE-LCHlch(40.51, 85.54, 304.09°)
OKLaboklab(50.77% 0.0482 -0.2038)
OKLCHoklch(50.77% 0.209 283.3)
XYZxyz(18.8382, 11.5613, 64.8442)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46D6 #BFD646
analogous
#4677D6 #5D46D6 #A546D6
triadic
#5D46D6 #D65D46 #46D65D
tetradic
#5D46D6 #D64677 #BFD646 #46D6A5
square
#5D46D6 #D64677 #BFD646 #46D6A5
split-complementary
#5D46D6 #D6A546 #77D646
monochromatic
#2E1D84 #3F28B6 #5D46D6 #8978E1 #B5AAEC

Accessibility & contrast

On white

6.34
#5D46D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5D46D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46D6
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46D6#FFFFFF#000000##FFFFFF
##5D46D61.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#005BD3
Tritanopia (blue-blind)
#1D6B88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d46d6;
/* rgb */ color: rgb(93, 70, 214);
/* oklch */ color: oklch(50.8% 0.209 283.3);
Tailwind
colors: {
  custom: {
    50: '#977be4',
    500: '#5d46d6',
    950: '#000000',
  },
}
SCSS
$custom: #5d46d6;
$custom-light: #977be4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46d6",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 249.583,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50772,
    "c": 0.20943,
    "h": 283.3
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#5D46D6
secondary
#D0DA9E
accent
#E741CC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5D46D6

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

Preview Lab → · Contrast checker → · Palette generator →

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