#5E5DE2#5E5DE2

#5E5DE2 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.5% C 0.197 H 278.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5E5DE2
RGBrgb(94, 93, 226)
HSLhsl(240, 70%, 63%)
HSVhsv(240, 59%, 89%)
CMYKcmyk(58.4%, 58.8%, 0%, 11.4%)
CIE-LABlab(46.58, 38.45, -67.79)
CIE-LCHlch(46.58, 77.93, 299.56°)
OKLaboklab(55.51% 0.028 -0.1947)
OKLCHoklch(55.51% 0.197 278.2)
XYZxyz(22.2535, 15.6978, 73.7941)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5DE2 #E1E25D
analogous
#5D9FE2 #5E5DE2 #A05DE2
triadic
#5E5DE2 #E25E5D #5DE25E
tetradic
#5E5DE2 #E25D9F #E1E25D #5DE2A0
square
#5E5DE2 #E25D9F #E1E25D #5DE2A0
split-complementary
#5E5DE2 #E2A05D #9FE25D
monochromatic
#1F1EA7 #2A29D9 #5E5DE2 #9291EB #C5C5F5

Accessibility & contrast

On white

5.07
#5E5DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5E5DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5DE2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5DE2#FFFFFF#000000##FFFFFF
##5E5DE21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e5de2;
/* rgb */ color: rgb(94, 93, 226);
/* oklch */ color: oklch(55.5% 0.197 278.2);
Tailwind
colors: {
  custom: {
    50: '#978bec',
    500: '#5e5de2',
    950: '#000000',
  },
}
SCSS
$custom: #5e5de2;
$custom-light: #978bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5de2",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 240.451,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55505,
    "c": 0.19675,
    "h": 278.2
  },
  "luminance": 0.15699
}

Semantic roles & 50–950 ramp

primary
#5E5DE2
secondary
#E5E6B5
accent
#D214D0
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5E5DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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