#5E5DE7#5E5DE7

#5E5DE7 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 55.9% C 0.203 H 277.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5E5DE7
RGBrgb(94, 93, 231)
HSLhsl(240, 74%, 64%)
HSVhsv(240, 60%, 91%)
CMYKcmyk(59.3%, 59.7%, 0%, 9.4%)
CIE-LABlab(46.94, 40.04, -70.02)
CIE-LCHlch(46.94, 80.66, 299.77°)
OKLaboklab(55.89% 0.0279 -0.2013)
OKLCHoklch(55.89% 0.203 277.9)
XYZxyz(22.9496, 15.9762, 77.4602)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5DE7 #E6E75D
analogous
#5DA1E7 #5E5DE7 #A35DE7
triadic
#5E5DE7 #E75E5D #5DE75E
tetradic
#5E5DE7 #E75DA1 #E6E75D #5DE7A3
square
#5E5DE7 #E75DA1 #E6E75D #5DE7A3
split-complementary
#5E5DE7 #E7A35D #A1E75D
monochromatic
#1B1AB0 #2928DF #5E5DE7 #9392EF #C8C8F7

Accessibility & contrast

On white

5.01
#5E5DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5E5DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5DE7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5DE7#FFFFFF#000000##FFFFFF
##5E5DE71.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5de7;
/* rgb */ color: rgb(94, 93, 231);
/* oklch */ color: oklch(55.9% 0.203 277.9);
Tailwind
colors: {
  custom: {
    50: '#988bf0',
    500: '#5e5de7',
    950: '#000000',
  },
}
SCSS
$custom: #5e5de7;
$custom-light: #988bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5de7",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 240.435,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.20322,
    "h": 277.9
  },
  "luminance": 0.15978
}

Semantic roles & 50–950 ramp

primary
#5E5DE7
secondary
#E8E8B7
accent
#D60FD5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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