#5D4AE8#5D4AE8

#5D4AE8 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.9% C 0.227 H 280.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5D4AE8
RGBrgb(93, 74, 232)
HSLhsl(247, 77%, 60%)
HSVhsv(247, 68%, 91%)
CMYKcmyk(59.9%, 68.1%, 0%, 9%)
CIE-LABlab(42.84, 51.15, -77.29)
CIE-LCHlch(42.84, 92.68, 303.50°)
OKLaboklab(52.91% 0.0423 -0.2227)
OKLCHoklch(52.91% 0.227 280.8)
XYZxyz(21.5239, 13.0494, 77.7128)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4AE8 #D5E84A
analogous
#4A86E8 #5D4AE8 #AC4AE8
triadic
#5D4AE8 #E85D4A #4AE85D
tetradic
#5D4AE8 #E84A86 #D5E84A #4AE8AC
square
#5D4AE8 #E84A86 #D5E84A #4AE8AC
split-complementary
#5D4AE8 #E8AC4A #86E84A
monochromatic
#2615A3 #321CD9 #5D4AE8 #8E80EF #BEB7F6

Accessibility & contrast

On white

5.82
#5D4AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5D4AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4AE8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4AE8#FFFFFF#000000##FFFFFF
##5D4AE81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4ae8;
/* rgb */ color: rgb(93, 74, 232);
/* oklch */ color: oklch(52.9% 0.227 280.8);
Tailwind
colors: {
  custom: {
    50: '#997ef1',
    500: '#5d4ae8',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ae8;
$custom-light: #997ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ae8",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 247.215,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.22671,
    "h": 280.8
  },
  "luminance": 0.13051
}

Semantic roles & 50–950 ramp

primary
#5D4AE8
secondary
#DEE5A8
accent
#F434DD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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