#5E47DB#5E47DB

#5E47DB is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.214 H 282.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5E47DB
RGBrgb(94, 71, 219)
HSLhsl(249, 67%, 57%)
HSVhsv(249, 68%, 86%)
CMYKcmyk(57.1%, 67.6%, 0%, 14.1%)
CIE-LABlab(41.22, 49.04, -72.55)
CIE-LCHlch(41.22, 87.57, 304.06°)
OKLaboklab(51.43% 0.048 -0.2088)
OKLCHoklch(51.43% 0.214 282.9)
XYZxyz(19.6516, 11.9994, 68.2847)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47DB #C4DB47
analogous
#477ADB #5E47DB #A847DB
triadic
#5E47DB #DB5E47 #47DB5E
tetradic
#5E47DB #DB477A #C4DB47 #47DBA8
square
#5E47DB #DB477A #C4DB47 #47DBA8
split-complementary
#5E47DB #DBA847 #7ADB47
monochromatic
#2D1B8C #3D25BF #5E47DB #8B7AE5 #B8ADEF

Accessibility & contrast

On white

6.18
#5E47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5E47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47DB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47DB#FFFFFF#000000##FFFFFF
##5E47DB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#186E8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e47db;
/* rgb */ color: rgb(94, 71, 219);
/* oklch */ color: oklch(51.4% 0.214 282.9);
Tailwind
colors: {
  custom: {
    50: '#987ce7',
    500: '#5e47db',
    950: '#000000',
  },
}
SCSS
$custom: #5e47db;
$custom-light: #987ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47db",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 249.324,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51428,
    "c": 0.21423,
    "h": 282.9
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#5E47DB
secondary
#D4DDA1
accent
#EA3ECF
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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