#5D5AED#5D5AED

#5D5AED is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.8% C 0.215 H 277.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5D5AED
RGBrgb(93, 90, 237)
HSLhsl(241, 80%, 64%)
HSVhsv(241, 62%, 93%)
CMYKcmyk(60.8%, 62%, 0%, 7.1%)
CIE-LABlab(46.65, 43.57, -73.88)
CIE-LCHlch(46.65, 85.77, 300.53°)
OKLaboklab(55.8% 0.029 -0.2127)
OKLCHoklch(55.8% 0.215 277.8)
XYZxyz(23.4515, 15.7521, 81.9090)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AED #EAED5A
analogous
#5AA1ED #5D5AED #A65AED
triadic
#5D5AED #ED5D5A #5AED5D
tetradic
#5D5AED #ED5AA1 #EAED5A #5AEDA6
square
#5D5AED #ED5AA1 #EAED5A #5AEDA6
split-complementary
#5D5AED #EDA65A #A1ED5A
monochromatic
#1714B8 #2723E7 #5D5AED #9391F3 #C9C8F9

Accessibility & contrast

On white

5.06
#5D5AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5D5AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AED
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AED#FFFFFF#000000##FFFFFF
##5D5AED1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5aed;
/* rgb */ color: rgb(93, 90, 237);
/* oklch */ color: oklch(55.8% 0.215 277.8);
Tailwind
colors: {
  custom: {
    50: '#9989f4',
    500: '#5d5aed',
    950: '#000000',
  },
}
SCSS
$custom: #5d5aed;
$custom-light: #9989f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5aed",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 241.224,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.21467,
    "h": 277.8
  },
  "luminance": 0.15754
}

Semantic roles & 50–950 ramp

primary
#5D5AED
secondary
#EAEBB8
accent
#DD09D8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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