#5B48DA#5B48DA

#5B48DA is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.2% C 0.212 H 281.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5B48DA
RGBrgb(91, 72, 218)
HSLhsl(248, 66%, 57%)
HSVhsv(248, 67%, 85%)
CMYKcmyk(58.3%, 67%, 0%, 14.5%)
CIE-LABlab(41.09, 47.73, -72.19)
CIE-LCHlch(41.09, 86.54, 303.47°)
OKLaboklab(51.25% 0.0433 -0.2078)
OKLCHoklch(51.25% 0.212 281.8)
XYZxyz(19.2827, 11.9195, 67.6007)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B48DA #C7DA48
analogous
#487EDA #5B48DA #A448DA
triadic
#5B48DA #DA5B48 #48DA5B
tetradic
#5B48DA #DA487E #C7DA48 #48DAA4
square
#5B48DA #DA487E #C7DA48 #48DAA4
split-complementary
#5B48DA #DAA448 #7EDA48
monochromatic
#2B1C8B #3A26BE #5B48DA #897BE4 #B6AEEF

Accessibility & contrast

On white

6.21
#5B48DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5B48DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B48DA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B48DA#FFFFFF#000000##FFFFFF
##5B48DA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005CD7
Tritanopia (blue-blind)
#036E8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b48da;
/* rgb */ color: rgb(91, 72, 218);
/* oklch */ color: oklch(51.2% 0.212 281.8);
Tailwind
colors: {
  custom: {
    50: '#967de7',
    500: '#5b48da',
    950: '#000000',
  },
}
SCSS
$custom: #5b48da;
$custom-light: #967de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b48da",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 247.808,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.21231,
    "h": 281.8
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#5B48DA
secondary
#D5DDA1
accent
#E93FD3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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