#5E4EF1#5E4EF1

#5E4EF1 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.4% C 0.233 H 279.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5E4EF1
RGBrgb(94, 78, 241)
HSLhsl(246, 85%, 63%)
HSVhsv(246, 68%, 95%)
CMYKcmyk(61%, 67.6%, 0%, 5.5%)
CIE-LABlab(44.49, 51.82, -79.66)
CIE-LCHlch(44.49, 95.03, 303.04°)
OKLaboklab(54.35% 0.0393 -0.2296)
OKLCHoklch(54.35% 0.233 279.7)
XYZxyz(23.2126, 14.1776, 84.7154)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EF1 #E1F14E
analogous
#4E8FF1 #5E4EF1 #B04EF1
triadic
#5E4EF1 #F15E4E #4EF15E
tetradic
#5E4EF1 #F14E8F #E1F14E #4EF1B0
square
#5E4EF1 #F14E8F #E1F14E #4EF1B0
split-complementary
#5E4EF1 #F1B04E #8FF14E
monochromatic
#1F0EB6 #2A15ED #5E4EF1 #9287F5 #C5BFFA

Accessibility & contrast

On white

5.47
#5E4EF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5E4EF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EF1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EF1#FFFFFF#000000##FFFFFF
##5E4EF11.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF6
Deuteranopia (green-blind)
#0063EE
Tritanopia (blue-blind)
#007999
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e4ef1;
/* rgb */ color: rgb(94, 78, 241);
/* oklch */ color: oklch(54.4% 0.233 279.7);
Tailwind
colors: {
  custom: {
    50: '#9b81f7',
    500: '#5e4ef1',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ef1;
$custom-light: #9b81f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ef1",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 241
  },
  "hsl": {
    "h": 245.89,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.23298,
    "h": 279.7
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

primary
#5E4EF1
secondary
#E5EBB0
accent
#E204CC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5E4EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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