#5E48DA#5E48DA

#5E48DA is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.212 H 282.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5E48DA
RGBrgb(94, 72, 218)
HSLhsl(249, 66%, 57%)
HSVhsv(249, 67%, 85%)
CMYKcmyk(56.9%, 67%, 0%, 14.5%)
CIE-LABlab(41.34, 48.19, -71.78)
CIE-LCHlch(41.34, 86.45, 303.87°)
OKLaboklab(51.49% 0.0473 -0.2065)
OKLCHoklch(51.49% 0.212 282.9)
XYZxyz(19.5844, 12.0751, 67.6148)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48DA #C4DA48
analogous
#487BDA #5E48DA #A748DA
triadic
#5E48DA #DA5E48 #48DA5E
tetradic
#5E48DA #DA487B #C4DA48 #48DAA7
square
#5E48DA #DA487B #C4DA48 #48DAA7
split-complementary
#5E48DA #DAA748 #7BDA48
monochromatic
#2D1C8B #3D26BE #5E48DA #8B7BE4 #B8AEEF

Accessibility & contrast

On white

6.15
#5E48DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5E48DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48DA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48DA#FFFFFF#000000##FFFFFF
##5E48DA1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005CD7
Tritanopia (blue-blind)
#1A6E8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e48da;
/* rgb */ color: rgb(94, 72, 218);
/* oklch */ color: oklch(51.5% 0.212 282.9);
Tailwind
colors: {
  custom: {
    50: '#987de7',
    500: '#5e48da',
    950: '#000000',
  },
}
SCSS
$custom: #5e48da;
$custom-light: #987de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48da",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 249.041,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51489,
    "c": 0.21188,
    "h": 282.9
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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