#5E47E1#5E47E1

#5E47E1 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.221 H 282.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5E47E1
RGBrgb(94, 71, 225)
HSLhsl(249, 72%, 58%)
HSVhsv(249, 68%, 88%)
CMYKcmyk(58.2%, 68.4%, 0%, 11.8%)
CIE-LABlab(41.72, 50.84, -75.14)
CIE-LCHlch(41.72, 90.72, 304.08°)
OKLaboklab(51.95% 0.047 -0.2164)
OKLCHoklch(51.95% 0.221 282.3)
XYZxyz(20.4557, 12.3210, 72.5198)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47E1 #CAE147
analogous
#477DE1 #5E47E1 #AB47E1
triadic
#5E47E1 #E15E47 #47E15E
tetradic
#5E47E1 #E1477D #CAE147 #47E1AB
square
#5E47E1 #E1477D #CAE147 #47E1AB
split-complementary
#5E47E1 #E1AB47 #7DE147
monochromatic
#2B1895 #3A21CA #5E47E1 #8C7CEA #BAB0F2

Accessibility & contrast

On white

6.06
#5E47E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5E47E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47E1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47E1#FFFFFF#000000##FFFFFF
##5E47E11.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#04708F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e47e1;
/* rgb */ color: rgb(94, 71, 225);
/* oklch */ color: oklch(51.9% 0.221 282.3);
Tailwind
colors: {
  custom: {
    50: '#997cec',
    500: '#5e47e1',
    950: '#000000',
  },
}
SCSS
$custom: #5e47e1;
$custom-light: #997cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47e1",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 248.961,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.22145,
    "h": 282.3
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#5E47E1
secondary
#D7E1A3
accent
#EF39D4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E47E1

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

Preview Lab → · Contrast checker → · Palette generator →

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