#5D5CE9#5D5CE9

#5D5CE9 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.8% C 0.207 H 277.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5D5CE9
RGBrgb(93, 92, 233)
HSLhsl(240, 76%, 64%)
HSVhsv(240, 61%, 91%)
CMYKcmyk(60.1%, 60.5%, 0%, 8.6%)
CIE-LABlab(46.79, 41.11, -71.39)
CIE-LCHlch(46.79, 82.38, 299.94°)
OKLaboklab(55.81% 0.0275 -0.2054)
OKLCHoklch(55.81% 0.207 277.6)
XYZxyz(23.0446, 15.8629, 78.9225)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CE9 #E8E95C
analogous
#5CA1E9 #5D5CE9 #A35CE9
triadic
#5D5CE9 #E95D5C #5CE95D
tetradic
#5D5CE9 #E95CA1 #E8E95C #5CE9A3
square
#5D5CE9 #E95CA1 #E8E95C #5CE9A3
split-complementary
#5D5CE9 #E9A35C #A1E95C
monochromatic
#1918B3 #2726E2 #5D5CE9 #9392F0 #C8C8F8

Accessibility & contrast

On white

5.03
#5D5CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5D5CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CE9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CE9#FFFFFF#000000##FFFFFF
##5D5CE91.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5ce9;
/* rgb */ color: rgb(93, 92, 233);
/* oklch */ color: oklch(55.8% 0.207 277.6);
Tailwind
colors: {
  custom: {
    50: '#988af1',
    500: '#5d5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ce9;
$custom-light: #988af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ce9",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 240.426,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55811,
    "c": 0.2072,
    "h": 277.6
  },
  "luminance": 0.15865
}

Semantic roles & 50–950 ramp

primary
#5D5CE9
secondary
#E9E9B8
accent
#D80DD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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