#5E48D6#5E48D6

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

Color values

HEX#5E48D6
RGBrgb(94, 72, 214)
HSLhsl(249, 63%, 56%)
HSVhsv(249, 66%, 84%)
CMYKcmyk(56.1%, 66.4%, 0%, 16.1%)
CIE-LABlab(41.01, 46.98, -70.02)
CIE-LCHlch(41.01, 84.32, 303.86°)
OKLaboklab(51.15% 0.0478 -0.2014)
OKLCHoklch(51.15% 0.207 283.4)
XYZxyz(19.0673, 11.8683, 64.8914)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48D6 #C0D648
analogous
#4879D6 #5E48D6 #A548D6
triadic
#5E48D6 #D65E48 #48D65E
tetradic
#5E48D6 #D64879 #C0D648 #48D6A5
square
#5E48D6 #D64879 #C0D648 #48D6A5
split-complementary
#5E48D6 #D6A548 #79D648
monochromatic
#2E1E86 #3F29B8 #5E48D6 #8A7AE1 #B6ACEC

Accessibility & contrast

On white

6.22
#5E48D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5E48D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48D6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48D6#FFFFFF#000000##FFFFFF
##5E48D61.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#005CD3
Tritanopia (blue-blind)
#216C89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e48d6;
/* rgb */ color: rgb(94, 72, 214);
/* oklch */ color: oklch(51.1% 0.207 283.4);
Tailwind
colors: {
  custom: {
    50: '#977de4',
    500: '#5e48d6',
    950: '#000000',
  },
}
SCSS
$custom: #5e48d6;
$custom-light: #977de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48d6",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 249.296,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.20699,
    "h": 283.4
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#5E48D6
secondary
#D1DAA0
accent
#E641CD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E48D6

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

Preview Lab → · Contrast checker → · Palette generator →

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