#5B48DC#5B48DC

#5B48DC is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.215 H 281.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5B48DC
RGBrgb(91, 72, 220)
HSLhsl(248, 68%, 57%)
HSVhsv(248, 67%, 86%)
CMYKcmyk(58.6%, 67.3%, 0%, 13.7%)
CIE-LABlab(41.26, 48.34, -73.06)
CIE-LCHlch(41.26, 87.60, 303.49°)
OKLaboklab(51.42% 0.043 -0.2104)
OKLCHoklch(51.42% 0.215 281.6)
XYZxyz(19.5460, 12.0248, 68.9873)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B48DC #C9DC48
analogous
#487FDC #5B48DC #A548DC
triadic
#5B48DC #DC5B48 #48DC5B
tetradic
#5B48DC #DC487F #C9DC48 #48DCA5
square
#5B48DC #DC487F #C9DC48 #48DCA5
split-complementary
#5B48DC #DCA548 #7FDC48
monochromatic
#2A1B8E #3925C2 #5B48DC #897BE6 #B7AFF0

Accessibility & contrast

On white

6.17
#5B48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5B48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B48DC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B48DC#FFFFFF#000000##FFFFFF
##5B48DC1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b48dc;
/* rgb */ color: rgb(91, 72, 220);
/* oklch */ color: oklch(51.4% 0.215 281.6);
Tailwind
colors: {
  custom: {
    50: '#967de8',
    500: '#5b48dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b48dc;
$custom-light: #967de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b48dc",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 247.703,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.21475,
    "h": 281.6
  },
  "luminance": 0.12026
}

Semantic roles & 50–950 ramp

primary
#5B48DC
secondary
#D6DEA2
accent
#EB3DD4
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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