#5D4AE4#5D4AE4

#5D4AE4 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.6% C 0.222 H 281.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5D4AE4
RGBrgb(93, 74, 228)
HSLhsl(247, 74%, 59%)
HSVhsv(247, 68%, 89%)
CMYKcmyk(59.2%, 67.5%, 0%, 10.6%)
CIE-LABlab(42.50, 49.94, -75.58)
CIE-LCHlch(42.50, 90.59, 303.46°)
OKLaboklab(52.56% 0.0429 -0.2177)
OKLCHoklch(52.56% 0.222 281.1)
XYZxyz(20.9622, 12.8247, 74.7545)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4AE4 #D1E44A
analogous
#4A84E4 #5D4AE4 #AA4AE4
triadic
#5D4AE4 #E45D4A #4AE45D
tetradic
#5D4AE4 #E44A84 #D1E44A #4AE4AA
square
#5D4AE4 #E44A84 #D1E44A #4AE4AA
split-complementary
#5D4AE4 #E4AA4A #84E44A
monochromatic
#28179C #351FD2 #5D4AE4 #8D7FEC #BCB5F4

Accessibility & contrast

On white

5.89
#5D4AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5D4AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4AE4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4AE4#FFFFFF#000000##FFFFFF
##5D4AE41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d4ae4;
/* rgb */ color: rgb(93, 74, 228);
/* oklch */ color: oklch(52.6% 0.222 281.1);
Tailwind
colors: {
  custom: {
    50: '#997eee',
    500: '#5d4ae4',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ae4;
$custom-light: #997eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ae4",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 247.403,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.22191,
    "h": 281.1
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#5D4AE4
secondary
#DCE3A7
accent
#F137DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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