#5D4DE4#5D4DE4

#5D4DE4 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.0% C 0.219 H 280.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5D4DE4
RGBrgb(93, 77, 228)
HSLhsl(246, 74%, 60%)
HSVhsv(246, 66%, 89%)
CMYKcmyk(59.2%, 66.2%, 0%, 10.6%)
CIE-LABlab(43.12, 48.27, -74.57)
CIE-LCHlch(43.12, 88.83, 302.91°)
OKLaboklab(53.01% 0.0405 -0.2147)
OKLCHoklch(53.01% 0.219 280.7)
XYZxyz(21.1673, 13.2349, 74.8229)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DE4 #D4E44D
analogous
#4D88E4 #5D4DE4 #A94DE4
triadic
#5D4DE4 #E45D4D #4DE45D
tetradic
#5D4DE4 #E44D88 #D4E44D #4DE4A9
square
#5D4DE4 #E44D88 #D4E44D #4DE4A9
split-complementary
#5D4DE4 #E4A94D #88E44D
monochromatic
#26189F #3320D4 #5D4DE4 #8D82EC #BEB7F4

Accessibility & contrast

On white

5.76
#5D4DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5D4DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DE4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DE4#FFFFFF#000000##FFFFFF
##5D4DE41.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d4de4;
/* rgb */ color: rgb(93, 77, 228);
/* oklch */ color: oklch(53.0% 0.219 280.7);
Tailwind
colors: {
  custom: {
    50: '#9880ee',
    500: '#5d4de4',
    950: '#000000',
  },
}
SCSS
$custom: #5d4de4;
$custom-light: #9880ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4de4",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 246.358,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53007,
    "c": 0.21854,
    "h": 280.7
  },
  "luminance": 0.13236
}

Semantic roles & 50–950 ramp

primary
#5D4DE4
secondary
#DDE4A9
accent
#F037DD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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