#5E5EE4#5E5EE4

#5E5EE4 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.8% C 0.198 H 277.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5E5EE4
RGBrgb(94, 94, 228)
HSLhsl(240, 71%, 63%)
HSVhsv(240, 59%, 89%)
CMYKcmyk(58.8%, 58.8%, 0%, 10.6%)
CIE-LABlab(46.95, 38.49, -68.30)
CIE-LCHlch(46.95, 78.40, 299.40°)
OKLaboklab(55.83% 0.027 -0.1963)
OKLCHoklch(55.83% 0.198 277.8)
XYZxyz(22.6179, 15.9849, 75.2773)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5EE4 #E4E45E
analogous
#5EA1E4 #5E5EE4 #A15EE4
triadic
#5E5EE4 #E45E5E #5EE45E
tetradic
#5E5EE4 #E45EA1 #E4E45E #5EE4A1
square
#5E5EE4 #E45EA1 #E4E45E #5EE4A1
split-complementary
#5E5EE4 #E4A15E #A1E45E
monochromatic
#1D1DAB #2A2ADB #5E5EE4 #9292ED #C7C7F6

Accessibility & contrast

On white

5.00
#5E5EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E5EE4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5EE4#FFFFFF#000000##FFFFFF
##5E5EE41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5ee4;
/* rgb */ color: rgb(94, 94, 228);
/* oklch */ color: oklch(55.8% 0.198 277.8);
Tailwind
colors: {
  custom: {
    50: '#988ced',
    500: '#5e5ee4',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ee4;
$custom-light: #988ced;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ee4",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 240,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5583,
    "c": 0.19811,
    "h": 277.8
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#5E5EE4
secondary
#E7E7B7
accent
#D312D3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5E5EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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