#5E47D9#5E47D9

#5E47D9 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.3% C 0.212 H 283.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5E47D9
RGBrgb(94, 71, 217)
HSLhsl(249, 66%, 56%)
HSVhsv(249, 67%, 85%)
CMYKcmyk(56.7%, 67.3%, 0%, 14.9%)
CIE-LABlab(41.05, 48.44, -71.67)
CIE-LCHlch(41.05, 86.51, 304.05°)
OKLaboklab(51.26% 0.0483 -0.2062)
OKLCHoklch(51.26% 0.212 283.2)
XYZxyz(19.3899, 11.8947, 66.9064)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47D9 #C2D947
analogous
#4779D9 #5E47D9 #A747D9
triadic
#5E47D9 #D95E47 #47D95E
tetradic
#5E47D9 #D94779 #C2D947 #47D9A7
square
#5E47D9 #D94779 #C2D947 #47D9A7
split-complementary
#5E47D9 #D9A747 #79D947
monochromatic
#2E1C89 #3E27BC #5E47D9 #8A7AE3 #B7ACEE

Accessibility & contrast

On white

6.21
#5E47D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5E47D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47D9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47D9#FFFFFF#000000##FFFFFF
##5E47D91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#1C6D8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e47d9;
/* rgb */ color: rgb(94, 71, 217);
/* oklch */ color: oklch(51.3% 0.212 283.2);
Tailwind
colors: {
  custom: {
    50: '#977ce6',
    500: '#5e47d9',
    950: '#000000',
  },
}
SCSS
$custom: #5e47d9;
$custom-light: #977ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47d9",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 249.452,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.2118,
    "h": 283.2
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#5E47D9
secondary
#D2DCA0
accent
#E93FCE
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E47D9

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

Preview Lab → · Contrast checker → · Palette generator →

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