#5B48DB#5B48DB

#5B48DB is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.3% C 0.214 H 281.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5B48DB
RGBrgb(91, 72, 219)
HSLhsl(248, 67%, 57%)
HSVhsv(248, 67%, 86%)
CMYKcmyk(58.4%, 67.1%, 0%, 14.1%)
CIE-LABlab(41.17, 48.03, -72.63)
CIE-LCHlch(41.17, 87.07, 303.48°)
OKLaboklab(51.33% 0.0432 -0.2091)
OKLCHoklch(51.33% 0.214 281.7)
XYZxyz(19.4139, 11.9720, 68.2919)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B48DB #C8DB48
analogous
#487FDB #5B48DB #A548DB
triadic
#5B48DB #DB5B48 #48DB5B
tetradic
#5B48DB #DB487F #C8DB48 #48DBA5
square
#5B48DB #DB487F #C8DB48 #48DBA5
split-complementary
#5B48DB #DBA548 #7FDB48
monochromatic
#2A1C8D #3A26C0 #5B48DB #897BE5 #B7AEEF

Accessibility & contrast

On white

6.19
#5B48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5B48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B48DB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B48DB#FFFFFF#000000##FFFFFF
##5B48DB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b48db;
/* rgb */ color: rgb(91, 72, 219);
/* oklch */ color: oklch(51.3% 0.214 281.7);
Tailwind
colors: {
  custom: {
    50: '#967de7',
    500: '#5b48db',
    950: '#000000',
  },
}
SCSS
$custom: #5b48db;
$custom-light: #967de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b48db",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 247.755,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.21353,
    "h": 281.7
  },
  "luminance": 0.11973
}

Semantic roles & 50–950 ramp

primary
#5B48DB
secondary
#D6DDA2
accent
#EA3ED4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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