#5E48D7#5E48D7

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

Color values

HEX#5E48D7
RGBrgb(94, 72, 215)
HSLhsl(249, 64%, 56%)
HSVhsv(249, 67%, 84%)
CMYKcmyk(56.3%, 66.5%, 0%, 15.7%)
CIE-LABlab(41.09, 47.28, -70.46)
CIE-LCHlch(41.09, 84.86, 303.86°)
OKLaboklab(51.23% 0.0477 -0.2027)
OKLCHoklch(51.23% 0.208 283.2)
XYZxyz(19.1954, 11.9195, 65.5660)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48D7 #C1D748
analogous
#487AD7 #5E48D7 #A648D7
triadic
#5E48D7 #D75E48 #48D75E
tetradic
#5E48D7 #D7487A #C1D748 #48D7A6
square
#5E48D7 #D7487A #C1D748 #48D7A6
split-complementary
#5E48D7 #D7A648 #7AD748
monochromatic
#2E1E87 #3F29B9 #5E48D7 #8A7AE2 #B6ACED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E48D7#FFFFFF#000000##FFFFFF
##5E48D71.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)
#0065DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#206D89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e48d7;
/* rgb */ color: rgb(94, 72, 215);
/* oklch */ color: oklch(51.2% 0.208 283.2);
Tailwind
colors: {
  custom: {
    50: '#977de4',
    500: '#5e48d7',
    950: '#000000',
  },
}
SCSS
$custom: #5e48d7;
$custom-light: #977de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48d7",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 249.231,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.20821,
    "h": 283.2
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#5E48D7
secondary
#D2DBA0
accent
#E741CE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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