#5D5DE4#5D5DE4

#5D5DE4 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.6% C 0.200 H 277.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5D5DE4
RGBrgb(93, 93, 228)
HSLhsl(240, 71%, 63%)
HSVhsv(240, 59%, 89%)
CMYKcmyk(59.2%, 59.2%, 0%, 10.6%)
CIE-LABlab(46.65, 38.92, -68.80)
CIE-LCHlch(46.65, 79.04, 299.50°)
OKLaboklab(55.59% 0.0268 -0.1977)
OKLCHoklch(55.59% 0.2 277.7)
XYZxyz(22.4276, 15.7556, 75.2430)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DE4 #E4E45D
analogous
#5DA0E4 #5D5DE4 #A05DE4
triadic
#5D5DE4 #E45D5D #5DE45D
tetradic
#5D5DE4 #E45DA0 #E4E45D #5DE4A0
square
#5D5DE4 #E45DA0 #E4E45D #5DE4A0
split-complementary
#5D5DE4 #E4A05D #A0E45D
monochromatic
#1C1CAA #2929DB #5D5DE4 #9191ED #C6C6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5DE4#FFFFFF#000000##FFFFFF
##5D5DE41.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)
#0074E8
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5de4;
/* rgb */ color: rgb(93, 93, 228);
/* oklch */ color: oklch(55.6% 0.200 277.7);
Tailwind
colors: {
  custom: {
    50: '#978bed',
    500: '#5d5de4',
    950: '#000000',
  },
}
SCSS
$custom: #5d5de4;
$custom-light: #978bed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5de4",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 240,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55589,
    "c": 0.19956,
    "h": 277.7
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#5D5DE4
secondary
#E7E7B6
accent
#D312D3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5D5DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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