#5D4FE4#5D4FE4

#5D4FE4 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.3% C 0.216 H 280.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5D4FE4
RGBrgb(93, 79, 228)
HSLhsl(246, 73%, 60%)
HSVhsv(246, 65%, 89%)
CMYKcmyk(59.2%, 65.4%, 0%, 10.6%)
CIE-LABlab(43.54, 47.13, -73.88)
CIE-LCHlch(43.54, 87.63, 302.54°)
OKLaboklab(53.31% 0.0389 -0.2127)
OKLCHoklch(53.31% 0.216 280.4)
XYZxyz(21.3094, 13.5190, 74.8703)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FE4 #D6E44F
analogous
#4F8BE4 #5D4FE4 #A84FE4
triadic
#5D4FE4 #E45D4F #4FE45D
tetradic
#5D4FE4 #E44F8B #D6E44F #4FE4A8
square
#5D4FE4 #E44F8B #D6E44F #4FE4A8
split-complementary
#5D4FE4 #E4A84F #8BE44F
monochromatic
#2519A0 #3221D5 #5D4FE4 #8E84EC #BFB9F4

Accessibility & contrast

On white

5.67
#5D4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5D4FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FE4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FE4#FFFFFF#000000##FFFFFF
##5D4FE41.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d4fe4;
/* rgb */ color: rgb(93, 79, 228);
/* oklch */ color: oklch(53.3% 0.216 280.4);
Tailwind
colors: {
  custom: {
    50: '#9881ee',
    500: '#5d4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fe4;
$custom-light: #9881ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fe4",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 245.638,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.21627,
    "h": 280.4
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#5D4FE4
secondary
#DFE4AB
accent
#D610C3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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