#5D48E5#5D48E5

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

Color values

HEX#5D48E5
RGBrgb(93, 72, 229)
HSLhsl(248, 75%, 59%)
HSVhsv(248, 69%, 90%)
CMYKcmyk(59.4%, 68.6%, 0%, 10.2%)
CIE-LABlab(42.18, 51.35, -76.66)
CIE-LCHlch(42.18, 92.27, 303.81°)
OKLaboklab(52.36% 0.0443 -0.2209)
OKLCHoklch(52.36% 0.225 281.3)
XYZxyz(20.9700, 12.6176, 75.4440)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48E5 #D0E548
analogous
#4882E5 #5D48E5 #AB48E5
triadic
#5D48E5 #E55D48 #48E55D
tetradic
#5D48E5 #E54882 #D0E548 #48E5AB
square
#5D48E5 #E54882 #D0E548 #48E5AB
split-complementary
#5D48E5 #E5AB48 #82E548
monochromatic
#28169C #361ED2 #5D48E5 #8C7EED #BCB3F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D48E5#FFFFFF#000000##FFFFFF
##5D48E51.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)
#0069EA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d48e5;
/* rgb */ color: rgb(93, 72, 229);
/* oklch */ color: oklch(52.4% 0.225 281.3);
Tailwind
colors: {
  custom: {
    50: '#997dee',
    500: '#5d48e5',
    950: '#000000',
  },
}
SCSS
$custom: #5d48e5;
$custom-light: #997dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48e5",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 248.025,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52361,
    "c": 0.2253,
    "h": 281.3
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#5D48E5
secondary
#DBE3A6
accent
#F236D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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