#5B48E1#5B48E1

#5B48E1 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.221 H 281.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5B48E1
RGBrgb(91, 72, 225)
HSLhsl(247, 72%, 58%)
HSVhsv(247, 68%, 88%)
CMYKcmyk(59.6%, 68%, 0%, 11.8%)
CIE-LABlab(41.68, 49.86, -75.22)
CIE-LCHlch(41.68, 90.24, 303.54°)
OKLaboklab(51.86% 0.0423 -0.2167)
OKLCHoklch(51.86% 0.221 281)
XYZxyz(20.2181, 12.2937, 72.5271)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B48E1 #CEE148
analogous
#4881E1 #5B48E1 #A748E1
triadic
#5B48E1 #E15B48 #48E15B
tetradic
#5B48E1 #E14881 #CEE148 #48E1A7
square
#5B48E1 #E14881 #CEE148 #48E1A7
split-complementary
#5B48E1 #E1A748 #81E148
monochromatic
#281996 #3621CB #5B48E1 #8A7DEA #B9B1F2

Accessibility & contrast

On white

6.07
#5B48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5B48E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B48E1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B48E1#FFFFFF#000000##FFFFFF
##5B48E11.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b48e1;
/* rgb */ color: rgb(91, 72, 225);
/* oklch */ color: oklch(51.9% 0.221 281.0);
Tailwind
colors: {
  custom: {
    50: '#977dec',
    500: '#5b48e1',
    950: '#000000',
  },
}
SCSS
$custom: #5b48e1;
$custom-light: #977dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b48e1",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 247.451,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.22081,
    "h": 281
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#5B48E1
secondary
#D9E1A4
accent
#EF39D8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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