#5E47D7#5E47D7

#5E47D7 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.209 H 283.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5E47D7
RGBrgb(94, 71, 215)
HSLhsl(250, 64%, 56%)
HSVhsv(250, 67%, 84%)
CMYKcmyk(56.3%, 67%, 0%, 15.7%)
CIE-LABlab(40.88, 47.84, -70.80)
CIE-LCHlch(40.88, 85.45, 304.05°)
OKLaboklab(51.09% 0.0485 -0.2037)
OKLCHoklch(51.09% 0.209 283.4)
XYZxyz(19.1313, 11.7913, 65.5446)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47D7 #C0D747
analogous
#4778D7 #5E47D7 #A647D7
triadic
#5E47D7 #D75E47 #47D75E
tetradic
#5E47D7 #D74778 #C0D747 #47D7A6
square
#5E47D7 #D74778 #C0D747 #47D7A6
split-complementary
#5E47D7 #D7A647 #78D747
monochromatic
#2E1D86 #3F28B9 #5E47D7 #8A79E2 #B6ACED

Accessibility & contrast

On white

6.25
#5E47D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5E47D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47D7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47D7#FFFFFF#000000##FFFFFF
##5E47D71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#206C89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e47d7;
/* rgb */ color: rgb(94, 71, 215);
/* oklch */ color: oklch(51.1% 0.209 283.4);
Tailwind
colors: {
  custom: {
    50: '#977ce4',
    500: '#5e47d7',
    950: '#000000',
  },
}
SCSS
$custom: #5e47d7;
$custom-light: #977ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47d7",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 249.583,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51086,
    "c": 0.20937,
    "h": 283.4
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#5E47D7
secondary
#D1DB9F
accent
#E741CD
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E47D7

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

Preview Lab → · Contrast checker → · Palette generator →

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