#5D5CE8#5D5CE8

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

Color values

HEX#5D5CE8
RGBrgb(93, 92, 232)
HSLhsl(240, 75%, 64%)
HSVhsv(240, 60%, 91%)
CMYKcmyk(59.9%, 60.3%, 0%, 9%)
CIE-LABlab(46.72, 40.80, -70.95)
CIE-LCHlch(46.72, 81.84, 299.90°)
OKLaboklab(55.73% 0.0275 -0.2041)
OKLCHoklch(55.73% 0.206 277.7)
XYZxyz(22.9022, 15.8059, 78.1723)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CE8 #E7E85C
analogous
#5CA1E8 #5D5CE8 #A35CE8
triadic
#5D5CE8 #E85D5C #5CE85D
tetradic
#5D5CE8 #E85CA1 #E7E85C #5CE8A3
square
#5D5CE8 #E85CA1 #E7E85C #5CE8A3
split-complementary
#5D5CE8 #E8A35C #A1E85C
monochromatic
#1A19B1 #2826E0 #5D5CE8 #9292F0 #C8C7F7

Accessibility & contrast

On white

5.05
#5D5CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5D5CE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CE8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CE8#FFFFFF#000000##FFFFFF
##5D5CE81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5ce8;
/* rgb */ color: rgb(93, 92, 232);
/* oklch */ color: oklch(55.7% 0.206 277.7);
Tailwind
colors: {
  custom: {
    50: '#988af0',
    500: '#5d5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ce8;
$custom-light: #988af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ce8",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 240.429,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.20593,
    "h": 277.7
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

primary
#5D5CE8
secondary
#E8E9B7
accent
#D70ED6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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