#5E48D8#5E48D8

#5E48D8 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.3% C 0.209 H 283.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5E48D8
RGBrgb(94, 72, 216)
HSLhsl(249, 65%, 56%)
HSVhsv(249, 67%, 85%)
CMYKcmyk(56.5%, 66.7%, 0%, 15.3%)
CIE-LABlab(41.17, 47.58, -70.90)
CIE-LCHlch(41.17, 85.39, 303.87°)
OKLaboklab(51.32% 0.0475 -0.204)
OKLCHoklch(51.32% 0.209 283.1)
XYZxyz(19.3243, 11.9711, 66.2448)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48D8 #C2D848
analogous
#487AD8 #5E48D8 #A648D8
triadic
#5E48D8 #D85E48 #48D85E
tetradic
#5E48D8 #D8487A #C2D848 #48D8A6
square
#5E48D8 #D8487A #C2D848 #48D8A6
split-complementary
#5E48D8 #D8A648 #7AD848
monochromatic
#2E1D89 #3E28BB #5E48D8 #8A7AE3 #B7ADEE

Accessibility & contrast

On white

6.19
#5E48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5E48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48D8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48D8#FFFFFF#000000##FFFFFF
##5E48D81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#1E6D8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e48d8;
/* rgb */ color: rgb(94, 72, 216);
/* oklch */ color: oklch(51.3% 0.209 283.1);
Tailwind
colors: {
  custom: {
    50: '#977de5',
    500: '#5e48d8',
    950: '#000000',
  },
}
SCSS
$custom: #5e48d8;
$custom-light: #977de5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48d8",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 249.167,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51319,
    "c": 0.20944,
    "h": 283.1
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#5E48D8
secondary
#D2DBA0
accent
#E840CE
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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