#5E4EE4#5E4EE4

#5E4EE4 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.2% C 0.217 H 280.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5E4EE4
RGBrgb(94, 78, 228)
HSLhsl(246, 74%, 60%)
HSVhsv(246, 66%, 89%)
CMYKcmyk(58.8%, 65.8%, 0%, 10.6%)
CIE-LABlab(43.40, 47.85, -74.10)
CIE-LCHlch(43.40, 88.20, 302.85°)
OKLaboklab(53.23% 0.041 -0.2133)
OKLCHoklch(53.23% 0.217 280.9)
XYZxyz(21.3397, 13.4284, 74.8512)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EE4 #D4E44E
analogous
#4E89E4 #5E4EE4 #A94EE4
triadic
#5E4EE4 #E45E4E #4EE45E
tetradic
#5E4EE4 #E44E89 #D4E44E #4EE4A9
square
#5E4EE4 #E44E89 #D4E44E #4EE4A9
split-complementary
#5E4EE4 #E4A94E #89E44E
monochromatic
#27189F #3420D4 #5E4EE4 #8E83EC #BFB8F4

Accessibility & contrast

On white

5.70
#5E4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5E4EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EE4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EE4#FFFFFF#000000##FFFFFF
##5E4EE41.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e4ee4;
/* rgb */ color: rgb(94, 78, 228);
/* oklch */ color: oklch(53.2% 0.217 280.9);
Tailwind
colors: {
  custom: {
    50: '#9981ee',
    500: '#5e4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ee4;
$custom-light: #9981ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ee4",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 246.4,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.53234,
    "c": 0.21724,
    "h": 280.9
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#5E4EE4
secondary
#DEE4AA
accent
#F038DD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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