#5B48D2#5B48D2

#5B48D2 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.6% C 0.202 H 282.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5B48D2
RGBrgb(91, 72, 210)
HSLhsl(248, 61%, 55%)
HSVhsv(248, 66%, 82%)
CMYKcmyk(56.7%, 65.7%, 0%, 17.6%)
CIE-LABlab(40.43, 45.29, -68.68)
CIE-LCHlch(40.43, 82.27, 303.40°)
OKLaboklab(50.57% 0.0444 -0.1975)
OKLCHoklch(50.57% 0.202 282.7)
XYZxyz(18.2610, 11.5109, 62.2198)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B48D2 #BFD248
analogous
#487AD2 #5B48D2 #A048D2
triadic
#5B48D2 #D25B48 #48D25B
tetradic
#5B48D2 #D2487A #BFD248 #48D2A0
square
#5B48D2 #D2487A #BFD248 #48D2A0
split-complementary
#5B48D2 #D2A048 #7AD248
monochromatic
#2D2080 #3E2CB1 #5B48D2 #8779DE #B3AAEA

Accessibility & contrast

On white

6.36
#5B48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5B48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B48D2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B48D2#FFFFFF#000000##FFFFFF
##5B48D21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#1B6B87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b48d2;
/* rgb */ color: rgb(91, 72, 210);
/* oklch */ color: oklch(50.6% 0.202 282.7);
Tailwind
colors: {
  custom: {
    50: '#957ce1',
    500: '#5b48d2',
    950: '#000000',
  },
}
SCSS
$custom: #5b48d2;
$custom-light: #957ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b48d2",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 248.261,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.20245,
    "h": 282.7
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#5B48D2
secondary
#D0D89E
accent
#E444CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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