#5E51EE#5E51EE

#5E51EE is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.5% C 0.226 H 279.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5E51EE
RGBrgb(94, 81, 238)
HSLhsl(245, 82%, 63%)
HSVhsv(245, 66%, 93%)
CMYKcmyk(60.5%, 66%, 0%, 6.7%)
CIE-LABlab(44.85, 49.22, -77.38)
CIE-LCHlch(44.85, 91.71, 302.46°)
OKLaboklab(54.54% 0.0374 -0.2229)
OKLCHoklch(54.54% 0.226 279.5)
XYZxyz(22.9862, 14.4359, 82.4475)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E51EE #E1EE51
analogous
#5193EE #5E51EE #AC51EE
triadic
#5E51EE #EE5E51 #51EE5E
tetradic
#5E51EE #EE5193 #E1EE51 #51EEAC
square
#5E51EE #EE5193 #E1EE51 #51EEAC
split-complementary
#5E51EE #EEAC51 #93EE51
monochromatic
#1F11B3 #2A19E9 #5E51EE #9289F3 #C5C1F9

Accessibility & contrast

On white

5.40
#5E51EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5E51EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E51EE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E51EE#FFFFFF#000000##FFFFFF
##5E51EE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F3
Deuteranopia (green-blind)
#0064EB
Tritanopia (blue-blind)
#007A99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e51ee;
/* rgb */ color: rgb(94, 81, 238);
/* oklch */ color: oklch(54.5% 0.226 279.5);
Tailwind
colors: {
  custom: {
    50: '#9a83f5',
    500: '#5e51ee',
    950: '#000000',
  },
}
SCSS
$custom: #5e51ee;
$custom-light: #9a83f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e51ee",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 244.968,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.22606,
    "h": 279.5
  },
  "luminance": 0.14438
}

Semantic roles & 50–950 ramp

primary
#5E51EE
secondary
#E5EAB1
accent
#DF07CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E51EE

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

Preview Lab → · Contrast checker → · Palette generator →

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