#5E47E4#5E47E4

#5E47E4 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.2% C 0.225 H 281.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5E47E4
RGBrgb(94, 71, 228)
HSLhsl(249, 74%, 59%)
HSVhsv(249, 69%, 89%)
CMYKcmyk(58.8%, 68.9%, 0%, 10.6%)
CIE-LABlab(41.98, 51.73, -76.43)
CIE-LCHlch(41.98, 92.29, 304.09°)
OKLaboklab(52.21% 0.0465 -0.2202)
OKLCHoklch(52.21% 0.225 281.9)
XYZxyz(20.8686, 12.4862, 74.6941)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47E4 #CDE447
analogous
#477EE4 #5E47E4 #AC47E4
triadic
#5E47E4 #E45E47 #47E45E
tetradic
#5E47E4 #E4477E #CDE447 #47E4AC
square
#5E47E4 #E4477E #CDE447 #47E4AC
split-complementary
#5E47E4 #E4AC47 #7EE447
monochromatic
#2A179A #381ECF #5E47E4 #8D7CEC #BBB2F4

Accessibility & contrast

On white

6.00
#5E47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5E47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47E4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47E4#FFFFFF#000000##FFFFFF
##5E47E41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E9
Deuteranopia (green-blind)
#005DE1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e47e4;
/* rgb */ color: rgb(94, 71, 228);
/* oklch */ color: oklch(52.2% 0.225 281.9);
Tailwind
colors: {
  custom: {
    50: '#997cee',
    500: '#5e47e4',
    950: '#000000',
  },
}
SCSS
$custom: #5e47e4;
$custom-light: #997cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47e4",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 248.79,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.22504,
    "h": 281.9
  },
  "luminance": 0.12488
}

Semantic roles & 50–950 ramp

primary
#5E47E4
secondary
#D9E2A4
accent
#F137D6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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