#5D4AE5#5D4AE5

#5D4AE5 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.6% C 0.223 H 281.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5D4AE5
RGBrgb(93, 74, 229)
HSLhsl(247, 75%, 59%)
HSVhsv(247, 68%, 90%)
CMYKcmyk(59.4%, 67.7%, 0%, 10.2%)
CIE-LABlab(42.58, 50.25, -76.01)
CIE-LCHlch(42.58, 91.11, 303.47°)
OKLaboklab(52.65% 0.0428 -0.219)
OKLCHoklch(52.65% 0.223 281)
XYZxyz(21.1014, 12.8804, 75.4878)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4AE5 #D2E54A
analogous
#4A85E5 #5D4AE5 #AB4AE5
triadic
#5D4AE5 #E55D4A #4AE55D
tetradic
#5D4AE5 #E54A85 #D2E54A #4AE5AB
square
#5D4AE5 #E54A85 #D2E54A #4AE5AB
split-complementary
#5D4AE5 #E5AB4A #85E54A
monochromatic
#27179E #351ED3 #5D4AE5 #8D80ED #BDB5F4

Accessibility & contrast

On white

5.87
#5D4AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5D4AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4AE5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4AE5#FFFFFF#000000##FFFFFF
##5D4AE51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005FE2
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4ae5;
/* rgb */ color: rgb(93, 74, 229);
/* oklch */ color: oklch(52.6% 0.223 281.0);
Tailwind
colors: {
  custom: {
    50: '#997eee',
    500: '#5d4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ae5;
$custom-light: #997eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ae5",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 247.355,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.22311,
    "h": 281
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#5D4AE5
secondary
#DCE4A7
accent
#F136DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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