#5E48E4#5E48E4

#5E48E4 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.4% C 0.224 H 281.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5E48E4
RGBrgb(94, 72, 228)
HSLhsl(248, 74%, 59%)
HSVhsv(248, 68%, 89%)
CMYKcmyk(58.8%, 68.4%, 0%, 10.6%)
CIE-LABlab(42.18, 51.19, -76.10)
CIE-LCHlch(42.18, 91.72, 303.93°)
OKLaboklab(52.35% 0.0458 -0.2192)
OKLCHoklch(52.35% 0.224 281.8)
XYZxyz(20.9327, 12.6144, 74.7155)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48E4 #CEE448
analogous
#4880E4 #5E48E4 #AC48E4
triadic
#5E48E4 #E45E48 #48E45E
tetradic
#5E48E4 #E44880 #CEE448 #48E4AC
square
#5E48E4 #E44880 #CEE448 #48E4AC
split-complementary
#5E48E4 #E4AC48 #80E448
monochromatic
#29179B #381FD0 #5E48E4 #8D7DEC #BCB3F4

Accessibility & contrast

On white

5.96
#5E48E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5E48E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48E4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48E4#FFFFFF#000000##FFFFFF
##5E48E41.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e48e4;
/* rgb */ color: rgb(94, 72, 228);
/* oklch */ color: oklch(52.4% 0.224 281.8);
Tailwind
colors: {
  custom: {
    50: '#997dee',
    500: '#5e48e4',
    950: '#000000',
  },
}
SCSS
$custom: #5e48e4;
$custom-light: #997dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48e4",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 248.462,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.22395,
    "h": 281.8
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#5E48E4
secondary
#DAE3A5
accent
#F137D7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E48E4

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

Preview Lab → · Contrast checker → · Palette generator →

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