#5D5AEB#5D5AEB

#5D5AEB is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.212 H 277.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5D5AEB
RGBrgb(93, 90, 235)
HSLhsl(241, 78%, 64%)
HSVhsv(241, 62%, 92%)
CMYKcmyk(60.4%, 61.7%, 0%, 7.8%)
CIE-LABlab(46.49, 42.94, -73.01)
CIE-LCHlch(46.49, 84.70, 300.46°)
OKLaboklab(55.64% 0.0291 -0.2101)
OKLCHoklch(55.64% 0.212 277.9)
XYZxyz(23.1609, 15.6359, 80.3787)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AEB #E8EB5A
analogous
#5A9FEB #5D5AEB #A55AEB
triadic
#5D5AEB #EB5D5A #5AEB5D
tetradic
#5D5AEB #EB5A9F #E8EB5A #5AEBA5
square
#5D5AEB #EB5A9F #E8EB5A #5AEBA5
split-complementary
#5D5AEB #EBA55A #9FEB5A
monochromatic
#1916B5 #2723E4 #5D5AEB #9391F2 #C8C7F8

Accessibility & contrast

On white

5.09
#5D5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5D5AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AEB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AEB#FFFFFF#000000##FFFFFF
##5D5AEB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5aeb;
/* rgb */ color: rgb(93, 90, 235);
/* oklch */ color: oklch(55.6% 0.212 277.9);
Tailwind
colors: {
  custom: {
    50: '#9989f2',
    500: '#5d5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5aeb;
$custom-light: #9989f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5aeb",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 241.241,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.21215,
    "h": 277.9
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#5D5AEB
secondary
#E9EAB7
accent
#DB0BD6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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