#5D4AE2#5D4AE2

#5D4AE2 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.4% C 0.219 H 281.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5D4AE2
RGBrgb(93, 74, 226)
HSLhsl(248, 72%, 59%)
HSVhsv(248, 67%, 89%)
CMYKcmyk(58.8%, 67.3%, 0%, 11.4%)
CIE-LABlab(42.33, 49.34, -74.72)
CIE-LCHlch(42.33, 89.54, 303.44°)
OKLaboklab(52.39% 0.0432 -0.2152)
OKLCHoklch(52.39% 0.219 281.3)
XYZxyz(20.6861, 12.7143, 73.3008)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4AE2 #CFE24A
analogous
#4A83E2 #5D4AE2 #A94AE2
triadic
#5D4AE2 #E25D4A #4AE25D
tetradic
#5D4AE2 #E24A83 #CFE24A #4AE2A9
square
#5D4AE2 #E24A83 #CFE24A #4AE2A9
split-complementary
#5D4AE2 #E2A94A #83E24A
monochromatic
#291999 #3721CE #5D4AE2 #8C7FEA #BBB3F3

Accessibility & contrast

On white

5.93
#5D4AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5D4AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4AE2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4AE2#FFFFFF#000000##FFFFFF
##5D4AE21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d4ae2;
/* rgb */ color: rgb(93, 74, 226);
/* oklch */ color: oklch(52.4% 0.219 281.3);
Tailwind
colors: {
  custom: {
    50: '#987eec',
    500: '#5d4ae2',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ae2;
$custom-light: #987eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ae2",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 247.5,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.21948,
    "h": 281.3
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#5D4AE2
secondary
#DAE2A6
accent
#EF39D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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