#5D4CE0#5D4CE0

#5D4CE0 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.215 H 281.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5D4CE0
RGBrgb(93, 76, 224)
HSLhsl(247, 70%, 59%)
HSVhsv(247, 66%, 88%)
CMYKcmyk(58.5%, 66.1%, 0%, 12.2%)
CIE-LABlab(42.58, 47.61, -73.18)
CIE-LCHlch(42.58, 87.30, 303.05°)
OKLaboklab(52.52% 0.0418 -0.2107)
OKLCHoklch(52.52% 0.215 281.2)
XYZxyz(20.5490, 12.8764, 71.9091)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CE0 #CFE04C
analogous
#4C85E0 #5D4CE0 #A74CE0
triadic
#5D4CE0 #E05D4C #4CE05D
tetradic
#5D4CE0 #E04C85 #CFE04C #4CE0A7
square
#5D4CE0 #E04C85 #CFE04C #4CE0A7
split-complementary
#5D4CE0 #E0A74C #85E04C
monochromatic
#291A97 #3723CC #5D4CE0 #8C80E9 #BBB4F2

Accessibility & contrast

On white

5.87
#5D4CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5D4CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CE0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CE0#FFFFFF#000000##FFFFFF
##5D4CE01.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#005FDD
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d4ce0;
/* rgb */ color: rgb(93, 76, 224);
/* oklch */ color: oklch(52.5% 0.215 281.2);
Tailwind
colors: {
  custom: {
    50: '#987feb',
    500: '#5d4ce0',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ce0;
$custom-light: #987feb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ce0",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 246.892,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52516,
    "c": 0.21478,
    "h": 281.2
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#5D4CE0
secondary
#DAE1A7
accent
#ED3BD9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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