#5E5CE5#5E5CE5

#5E5CE5 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.6% C 0.202 H 278.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5E5CE5
RGBrgb(94, 92, 229)
HSLhsl(241, 72%, 63%)
HSVhsv(241, 60%, 90%)
CMYKcmyk(59%, 59.8%, 0%, 10.2%)
CIE-LABlab(46.56, 40.00, -69.50)
CIE-LCHlch(46.56, 80.19, 299.92°)
OKLaboklab(55.57% 0.0288 -0.1998)
OKLCHoklch(55.57% 0.202 278.2)
XYZxyz(22.5816, 15.6895, 75.9520)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CE5 #E3E55C
analogous
#5C9EE5 #5E5CE5 #A25CE5
triadic
#5E5CE5 #E55E5C #5CE55E
tetradic
#5E5CE5 #E55C9E #E3E55C #5CE5A2
square
#5E5CE5 #E55C9E #E3E55C #5CE5A2
split-complementary
#5E5CE5 #E5A25C #9EE55C
monochromatic
#1D1BAB #2A27DD #5E5CE5 #9291ED #C6C6F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5CE5#FFFFFF#000000##FFFFFF
##5E5CE51.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)
#0074E9
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e5ce5;
/* rgb */ color: rgb(94, 92, 229);
/* oklch */ color: oklch(55.6% 0.202 278.2);
Tailwind
colors: {
  custom: {
    50: '#988aee',
    500: '#5e5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ce5;
$custom-light: #988aee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ce5",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 240.876,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55566,
    "c": 0.20187,
    "h": 278.2
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#5E5CE5
secondary
#E6E7B6
accent
#D511D2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5E5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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