#5E4EEF#5E4EEF

#5E4EEF is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.2% C 0.231 H 279.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5E4EEF
RGBrgb(94, 78, 239)
HSLhsl(246, 83%, 62%)
HSVhsv(246, 67%, 94%)
CMYKcmyk(60.7%, 67.4%, 0%, 6.3%)
CIE-LABlab(44.32, 51.21, -78.81)
CIE-LCHlch(44.32, 93.99, 303.01°)
OKLaboklab(54.18% 0.0395 -0.2272)
OKLCHoklch(54.18% 0.231 279.9)
XYZxyz(22.9155, 14.0588, 83.1507)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EEF #DFEF4E
analogous
#4E8EEF #5E4EEF #AF4EEF
triadic
#5E4EEF #EF5E4E #4EEF5E
tetradic
#5E4EEF #EF4E8E #DFEF4E #4EEFAF
square
#5E4EEF #EF4E8E #DFEF4E #4EEFAF
split-complementary
#5E4EEF #EFAF4E #8EEF4E
monochromatic
#2010B2 #2B16EA #5E4EEF #9186F4 #C4BEF9

Accessibility & contrast

On white

5.51
#5E4EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5E4EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EEF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EEF#FFFFFF#000000##FFFFFF
##5E4EEF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF4
Deuteranopia (green-blind)
#0063EC
Tritanopia (blue-blind)
#007998
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e4eef;
/* rgb */ color: rgb(94, 78, 239);
/* oklch */ color: oklch(54.2% 0.231 279.9);
Tailwind
colors: {
  custom: {
    50: '#9b81f5',
    500: '#5e4eef',
    950: '#000000',
  },
}
SCSS
$custom: #5e4eef;
$custom-light: #9b81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4eef",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 239
  },
  "hsl": {
    "h": 245.963,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.23058,
    "h": 279.9
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#5E4EEF
secondary
#E4EAAF
accent
#E006CA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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