#5D5AEE#5D5AEE

#5D5AEE is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.216 H 277.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5D5AEE
RGBrgb(93, 90, 238)
HSLhsl(241, 81%, 64%)
HSVhsv(241, 62%, 93%)
CMYKcmyk(60.9%, 62.2%, 0%, 6.7%)
CIE-LABlab(46.73, 43.89, -74.32)
CIE-LCHlch(46.73, 86.31, 300.56°)
OKLaboklab(55.88% 0.0289 -0.214)
OKLCHoklch(55.88% 0.216 277.7)
XYZxyz(23.5980, 15.8107, 82.6806)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AEE #EBEE5A
analogous
#5AA1EE #5D5AEE #A75AEE
triadic
#5D5AEE #EE5D5A #5AEE5D
tetradic
#5D5AEE #EE5AA1 #EBEE5A #5AEEA7
square
#5D5AEE #EE5AA1 #EBEE5A #5AEEA7
split-complementary
#5D5AEE #EEA75A #A1EE5A
monochromatic
#1713BA #2723E8 #5D5AEE #9391F4 #CAC9F9

Accessibility & contrast

On white

5.04
#5D5AEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5D5AEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AEE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AEE#FFFFFF#000000##FFFFFF
##5D5AEE1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5aee;
/* rgb */ color: rgb(93, 90, 238);
/* oklch */ color: oklch(55.9% 0.216 277.7);
Tailwind
colors: {
  custom: {
    50: '#9989f5',
    500: '#5d5aee',
    950: '#000000',
  },
}
SCSS
$custom: #5d5aee;
$custom-light: #9989f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5aee",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 241.216,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5588,
    "c": 0.21593,
    "h": 277.7
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#5D5AEE
secondary
#EBECB8
accent
#DE08D9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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