#5D5DE9#5D5DE9

#5D5DE9 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.206 H 277.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5D5DE9
RGBrgb(93, 93, 233)
HSLhsl(240, 76%, 64%)
HSVhsv(240, 60%, 91%)
CMYKcmyk(60.1%, 60.1%, 0%, 8.6%)
CIE-LABlab(47.02, 40.52, -71.02)
CIE-LCHlch(47.02, 81.76, 299.71°)
OKLaboklab(55.98% 0.0266 -0.2043)
OKLCHoklch(55.98% 0.206 277.4)
XYZxyz(23.1318, 16.0373, 78.9515)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DE9 #E9E95D
analogous
#5DA3E9 #5D5DE9 #A35DE9
triadic
#5D5DE9 #E95D5D #5DE95D
tetradic
#5D5DE9 #E95DA3 #E9E95D #5DE9A3
square
#5D5DE9 #E95DA3 #E9E95D #5DE9A3
split-complementary
#5D5DE9 #E9A35D #A3E95D
monochromatic
#1818B3 #2727E2 #5D5DE9 #9393F0 #C9C9F8

Accessibility & contrast

On white

4.99
#5D5DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5D5DE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DE9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DE9#FFFFFF#000000##FFFFFF
##5D5DE91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5de9;
/* rgb */ color: rgb(93, 93, 233);
/* oklch */ color: oklch(56.0% 0.206 277.4);
Tailwind
colors: {
  custom: {
    50: '#988bf1',
    500: '#5d5de9',
    950: '#000000',
  },
}
SCSS
$custom: #5d5de9;
$custom-light: #988bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5de9",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 240,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.206,
    "h": 277.4
  },
  "luminance": 0.16039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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