#5D4AE1#5D4AE1

#5D4AE1 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.218 H 281.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5D4AE1
RGBrgb(93, 74, 225)
HSLhsl(248, 72%, 59%)
HSVhsv(248, 67%, 88%)
CMYKcmyk(58.7%, 67.1%, 0%, 11.8%)
CIE-LABlab(42.25, 49.03, -74.29)
CIE-LCHlch(42.25, 89.01, 303.43°)
OKLaboklab(52.3% 0.0433 -0.2139)
OKLCHoklch(52.3% 0.218 281.4)
XYZxyz(20.5493, 12.6595, 72.5802)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4AE1 #CEE14A
analogous
#4A82E1 #5D4AE1 #A84AE1
triadic
#5D4AE1 #E15D4A #4AE15D
tetradic
#5D4AE1 #E14A82 #CEE14A #4AE1A8
square
#5D4AE1 #E14A82 #CEE14A #4AE1A8
split-complementary
#5D4AE1 #E1A84A #82E14A
monochromatic
#291997 #3722CC #5D4AE1 #8C7EEA #BBB3F2

Accessibility & contrast

On white

5.95
#5D4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5D4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4AE1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4AE1#FFFFFF#000000##FFFFFF
##5D4AE11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d4ae1;
/* rgb */ color: rgb(93, 74, 225);
/* oklch */ color: oklch(52.3% 0.218 281.4);
Tailwind
colors: {
  custom: {
    50: '#987eec',
    500: '#5d4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ae1;
$custom-light: #987eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ae1",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 247.55,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52304,
    "c": 0.21827,
    "h": 281.4
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#5D4AE1
secondary
#DAE1A6
accent
#EE39D8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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