#5E5CE2#5E5CE2

#5E5CE2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.3% C 0.198 H 278.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5E5CE2
RGBrgb(94, 92, 226)
HSLhsl(241, 70%, 62%)
HSVhsv(241, 59%, 89%)
CMYKcmyk(58.4%, 59.3%, 0%, 11.4%)
CIE-LABlab(46.34, 39.05, -68.17)
CIE-LCHlch(46.34, 78.56, 299.80°)
OKLaboklab(55.33% 0.0289 -0.1959)
OKLCHoklch(55.33% 0.198 278.4)
XYZxyz(22.1663, 15.5234, 73.7650)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CE2 #E0E25C
analogous
#5C9DE2 #5E5CE2 #A15CE2
triadic
#5E5CE2 #E25E5C #5CE25E
tetradic
#5E5CE2 #E25C9D #E0E25C #5CE2A1
square
#5E5CE2 #E25C9D #E0E25C #5CE2A1
split-complementary
#5E5CE2 #E2A15C #9DE25C
monochromatic
#201EA6 #2B28D9 #5E5CE2 #9190EB #C5C4F4

Accessibility & contrast

On white

5.12
#5E5CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5E5CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CE2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CE2#FFFFFF#000000##FFFFFF
##5E5CE21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e5ce2;
/* rgb */ color: rgb(94, 92, 226);
/* oklch */ color: oklch(55.3% 0.198 278.4);
Tailwind
colors: {
  custom: {
    50: '#978aec',
    500: '#5e5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ce2;
$custom-light: #978aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ce2",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 240.896,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55333,
    "c": 0.19799,
    "h": 278.4
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#5E5CE2
secondary
#E5E5B4
accent
#D214CF
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5E5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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