#5E48DC#5E48DC

#5E48DC is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.214 H 282.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5E48DC
RGBrgb(94, 72, 220)
HSLhsl(249, 68%, 57%)
HSVhsv(249, 67%, 86%)
CMYKcmyk(57.3%, 67.3%, 0%, 13.7%)
CIE-LABlab(41.50, 48.79, -72.65)
CIE-LCHlch(41.50, 87.51, 303.88°)
OKLaboklab(51.66% 0.047 -0.2091)
OKLCHoklch(51.66% 0.214 282.7)
XYZxyz(19.8477, 12.1804, 69.0015)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48DC #C6DC48
analogous
#487CDC #5E48DC #A848DC
triadic
#5E48DC #DC5E48 #48DC5E
tetradic
#5E48DC #DC487C #C6DC48 #48DCA8
square
#5E48DC #DC487C #C6DC48 #48DCA8
split-complementary
#5E48DC #DCA848 #7CDC48
monochromatic
#2C1B8E #3C25C2 #5E48DC #8B7BE6 #B8AFF0

Accessibility & contrast

On white

6.11
#5E48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5E48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48DC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48DC#FFFFFF#000000##FFFFFF
##5E48DC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#156E8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e48dc;
/* rgb */ color: rgb(94, 72, 220);
/* oklch */ color: oklch(51.7% 0.214 282.7);
Tailwind
colors: {
  custom: {
    50: '#987de8',
    500: '#5e48dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e48dc;
$custom-light: #987de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48dc",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 248.919,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5166,
    "c": 0.21431,
    "h": 282.7
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#5E48DC
secondary
#D5DEA2
accent
#EB3DD1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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