#5D5CE7#5D5CE7

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

Color values

HEX#5D5CE7
RGBrgb(93, 92, 231)
HSLhsl(240, 74%, 63%)
HSVhsv(240, 60%, 91%)
CMYKcmyk(59.7%, 60.2%, 0%, 9.4%)
CIE-LABlab(46.64, 40.48, -70.51)
CIE-LCHlch(46.64, 81.30, 299.86°)
OKLaboklab(55.65% 0.0276 -0.2028)
OKLCHoklch(55.65% 0.205 277.7)
XYZxyz(22.7605, 15.7493, 77.4263)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CE7 #E6E75C
analogous
#5CA0E7 #5D5CE7 #A25CE7
triadic
#5D5CE7 #E75D5C #5CE75D
tetradic
#5D5CE7 #E75CA0 #E6E75C #5CE7A2
square
#5D5CE7 #E75CA0 #E6E75C #5CE7A2
split-complementary
#5D5CE7 #E7A25C #A0E75C
monochromatic
#1B1AAF #2827DF #5D5CE7 #9291EF #C7C7F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5CE7#FFFFFF#000000##FFFFFF
##5D5CE71.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)
#0074EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5ce7;
/* rgb */ color: rgb(93, 92, 231);
/* oklch */ color: oklch(55.7% 0.205 277.7);
Tailwind
colors: {
  custom: {
    50: '#988af0',
    500: '#5d5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ce7;
$custom-light: #988af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ce7",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 240.432,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.20465,
    "h": 277.7
  },
  "luminance": 0.15751
}

Semantic roles & 50–950 ramp

primary
#5D5CE7
secondary
#E8E8B7
accent
#D60FD5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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