#5D5CE6#5D5CE6

#5D5CE6 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.6% C 0.203 H 277.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5D5CE6
RGBrgb(93, 92, 230)
HSLhsl(240, 73%, 63%)
HSVhsv(240, 60%, 90%)
CMYKcmyk(59.6%, 60%, 0%, 9.8%)
CIE-LABlab(46.57, 40.16, -70.06)
CIE-LCHlch(46.57, 80.76, 299.82°)
OKLaboklab(55.58% 0.0276 -0.2015)
OKLCHoklch(55.58% 0.203 277.8)
XYZxyz(22.6197, 15.6929, 76.6846)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CE6 #E5E65C
analogous
#5CA0E6 #5D5CE6 #A25CE6
triadic
#5D5CE6 #E65D5C #5CE65D
tetradic
#5D5CE6 #E65CA0 #E5E65C #5CE6A2
square
#5D5CE6 #E65CA0 #E5E65C #5CE6A2
split-complementary
#5D5CE6 #E6A25C #A0E65C
monochromatic
#1C1BAD #2827DE #5D5CE6 #9291EE #C6C6F6

Accessibility & contrast

On white

5.07
#5D5CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5D5CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CE6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CE6#FFFFFF#000000##FFFFFF
##5D5CE61.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5ce6;
/* rgb */ color: rgb(93, 92, 230);
/* oklch */ color: oklch(55.6% 0.203 277.8);
Tailwind
colors: {
  custom: {
    50: '#988aef',
    500: '#5d5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ce6;
$custom-light: #988aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ce6",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 240.435,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.20336,
    "h": 277.8
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#5D5CE6
secondary
#E7E8B6
accent
#D610D4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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