#5D4FE5#5D4FE5

#5D4FE5 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.217 H 280.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5D4FE5
RGBrgb(93, 79, 229)
HSLhsl(246, 74%, 60%)
HSVhsv(246, 66%, 90%)
CMYKcmyk(59.4%, 65.5%, 0%, 10.2%)
CIE-LABlab(43.62, 47.44, -74.31)
CIE-LCHlch(43.62, 88.17, 302.55°)
OKLaboklab(53.4% 0.0388 -0.214)
OKLCHoklch(53.4% 0.217 280.3)
XYZxyz(21.4486, 13.5747, 75.6035)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FE5 #D7E54F
analogous
#4F8CE5 #5D4FE5 #A84FE5
triadic
#5D4FE5 #E55D4F #4FE55D
tetradic
#5D4FE5 #E54F8C #D7E54F #4FE5A8
square
#5D4FE5 #E54F8C #D7E54F #4FE5A8
split-complementary
#5D4FE5 #E5A84F #8CE54F
monochromatic
#2518A2 #3120D7 #5D4FE5 #8E84ED #BFBAF5

Accessibility & contrast

On white

5.65
#5D4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5D4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FE5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FE5#FFFFFF#000000##FFFFFF
##5D4FE51.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d4fe5;
/* rgb */ color: rgb(93, 79, 229);
/* oklch */ color: oklch(53.4% 0.217 280.3);
Tailwind
colors: {
  custom: {
    50: '#9881ee',
    500: '#5d4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fe5;
$custom-light: #9881ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fe5",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 245.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53395,
    "c": 0.21749,
    "h": 280.3
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

primary
#5D4FE5
secondary
#DFE5AB
accent
#D60FC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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