#5D4AE0#5D4AE0

#5D4AE0 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.2% C 0.217 H 281.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5D4AE0
RGBrgb(93, 74, 224)
HSLhsl(248, 71%, 58%)
HSVhsv(248, 67%, 88%)
CMYKcmyk(58.5%, 67%, 0%, 12.2%)
CIE-LABlab(42.16, 48.73, -73.85)
CIE-LCHlch(42.16, 88.48, 303.42°)
OKLaboklab(52.22% 0.0435 -0.2127)
OKLCHoklch(52.22% 0.217 281.6)
XYZxyz(20.4133, 12.6051, 71.8639)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4AE0 #CDE04A
analogous
#4A82E0 #5D4AE0 #A84AE0
triadic
#5D4AE0 #E05D4A #4AE05D
tetradic
#5D4AE0 #E04A82 #CDE04A #4AE0A8
square
#5D4AE0 #E04A82 #CDE04A #4AE0A8
split-complementary
#5D4AE0 #E0A84A #82E04A
monochromatic
#291A96 #3823CA #5D4AE0 #8C7EE9 #BBB3F2

Accessibility & contrast

On white

5.96
#5D4AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5D4AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4AE0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4AE0#FFFFFF#000000##FFFFFF
##5D4AE01.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#005EDD
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d4ae0;
/* rgb */ color: rgb(93, 74, 224);
/* oklch */ color: oklch(52.2% 0.217 281.6);
Tailwind
colors: {
  custom: {
    50: '#987eeb',
    500: '#5d4ae0',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ae0;
$custom-light: #987eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ae0",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 247.6,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.21706,
    "h": 281.6
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#5D4AE0
secondary
#D9E1A5
accent
#EE3AD7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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