#5D4DEE#5D4DEE

#5D4DEE is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.9% C 0.231 H 279.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5D4DEE
RGBrgb(93, 77, 238)
HSLhsl(246, 83%, 62%)
HSVhsv(246, 68%, 93%)
CMYKcmyk(60.9%, 67.6%, 0%, 6.7%)
CIE-LABlab(43.95, 51.32, -78.85)
CIE-LCHlch(43.95, 94.08, 303.06°)
OKLaboklab(53.87% 0.0392 -0.2273)
OKLCHoklch(53.87% 0.231 279.8)
XYZxyz(22.5958, 13.8063, 82.3465)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DEE #DEEE4D
analogous
#4D8EEE #5D4DEE #AE4DEE
triadic
#5D4DEE #EE5D4D #4DEE5D
tetradic
#5D4DEE #EE4D8E #DEEE4D #4DEEAE
square
#5D4DEE #EE4D8E #DEEE4D #4DEEAE
split-complementary
#5D4DEE #EEAE4D #8EEE4D
monochromatic
#2111B0 #2B16E8 #5D4DEE #9085F3 #C3BDF9

Accessibility & contrast

On white

5.58
#5D4DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5D4DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DEE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DEE#FFFFFF#000000##FFFFFF
##5D4DEE1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF3
Deuteranopia (green-blind)
#0062EB
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d4dee;
/* rgb */ color: rgb(93, 77, 238);
/* oklch */ color: oklch(53.9% 0.231 279.8);
Tailwind
colors: {
  custom: {
    50: '#9a80f5',
    500: '#5d4dee',
    950: '#000000',
  },
}
SCSS
$custom: #5d4dee;
$custom-light: #9a80f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4dee",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 238
  },
  "hsl": {
    "h": 245.963,
    "s": 82.564,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53869,
    "c": 0.23065,
    "h": 279.8
  },
  "luminance": 0.13808
}

Semantic roles & 50–950 ramp

primary
#5D4DEE
secondary
#E3E9AE
accent
#DF07C9
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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