#5D48E1#5D48E1

#5D48E1 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.0% C 0.220 H 281.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5D48E1
RGBrgb(93, 72, 225)
HSLhsl(248, 72%, 58%)
HSVhsv(248, 68%, 88%)
CMYKcmyk(58.7%, 68%, 0%, 11.8%)
CIE-LABlab(41.84, 50.14, -74.95)
CIE-LCHlch(41.84, 90.18, 303.78°)
OKLaboklab(52.01% 0.0449 -0.2159)
OKLCHoklch(52.01% 0.22 281.8)
XYZxyz(20.4179, 12.3967, 72.5364)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48E1 #CCE148
analogous
#487FE1 #5D48E1 #A948E1
triadic
#5D48E1 #E15D48 #48E15D
tetradic
#5D48E1 #E1487F #CCE148 #48E1A9
square
#5D48E1 #E1487F #CCE148 #48E1A9
split-complementary
#5D48E1 #E1A948 #7FE148
monochromatic
#2A1996 #3821CB #5D48E1 #8C7DEA #BAB1F2

Accessibility & contrast

On white

6.04
#5D48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5D48E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48E1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48E1#FFFFFF#000000##FFFFFF
##5D48E11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d48e1;
/* rgb */ color: rgb(93, 72, 225);
/* oklch */ color: oklch(52.0% 0.220 281.8);
Tailwind
colors: {
  custom: {
    50: '#987dec',
    500: '#5d48e1',
    950: '#000000',
  },
}
SCSS
$custom: #5d48e1;
$custom-light: #987dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48e1",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 248.235,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.22049,
    "h": 281.8
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#5D48E1
secondary
#D9E1A4
accent
#EF39D6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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