#5D5CE4#5D5CE4

#5D5CE4 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.4% C 0.201 H 277.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5D5CE4
RGBrgb(93, 92, 228)
HSLhsl(240, 72%, 63%)
HSVhsv(240, 60%, 89%)
CMYKcmyk(59.2%, 59.6%, 0%, 10.6%)
CIE-LABlab(46.42, 39.52, -69.18)
CIE-LCHlch(46.42, 79.67, 299.74°)
OKLaboklab(55.42% 0.0277 -0.1989)
OKLCHoklch(55.42% 0.201 277.9)
XYZxyz(22.3405, 15.5812, 75.2140)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CE4 #E3E45C
analogous
#5C9FE4 #5D5CE4 #A15CE4
triadic
#5D5CE4 #E45D5C #5CE45D
tetradic
#5D5CE4 #E45C9F #E3E45C #5CE4A1
square
#5D5CE4 #E45C9F #E3E45C #5CE4A1
split-complementary
#5D5CE4 #E4A15C #9FE45C
monochromatic
#1D1CAA #2927DB #5D5CE4 #9191ED #C5C5F5

Accessibility & contrast

On white

5.10
#5D5CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5D5CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CE4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CE4#FFFFFF#000000##FFFFFF
##5D5CE41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5ce4;
/* rgb */ color: rgb(93, 92, 228);
/* oklch */ color: oklch(55.4% 0.201 277.9);
Tailwind
colors: {
  custom: {
    50: '#978aed',
    500: '#5d5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ce4;
$custom-light: #978aed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ce4",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 240.441,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55418,
    "c": 0.20079,
    "h": 277.9
  },
  "luminance": 0.15583
}

Semantic roles & 50–950 ramp

primary
#5D5CE4
secondary
#E6E7B5
accent
#D412D2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5D5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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