#5B48DD#5B48DD

#5B48DD is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.216 H 281.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5B48DD
RGBrgb(91, 72, 221)
HSLhsl(248, 69%, 57%)
HSVhsv(248, 67%, 87%)
CMYKcmyk(58.8%, 67.4%, 0%, 13.3%)
CIE-LABlab(41.34, 48.64, -73.49)
CIE-LCHlch(41.34, 88.13, 303.50°)
OKLaboklab(51.51% 0.0429 -0.2117)
OKLCHoklch(51.51% 0.216 281.5)
XYZxyz(19.6788, 12.0780, 69.6869)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B48DD #CADD48
analogous
#487FDD #5B48DD #A648DD
triadic
#5B48DD #DD5B48 #48DD5B
tetradic
#5B48DD #DD487F #CADD48 #48DDA6
square
#5B48DD #DD487F #CADD48 #48DDA6
split-complementary
#5B48DD #DDA648 #7FDD48
monochromatic
#2A1B90 #3924C3 #5B48DD #897CE7 #B8AFF0

Accessibility & contrast

On white

6.15
#5B48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5B48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B48DD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B48DD#FFFFFF#000000##FFFFFF
##5B48DD1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#005CDA
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b48dd;
/* rgb */ color: rgb(91, 72, 221);
/* oklch */ color: oklch(51.5% 0.216 281.5);
Tailwind
colors: {
  custom: {
    50: '#967de9',
    500: '#5b48dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b48dd;
$custom-light: #967de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b48dd",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 247.651,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.21596,
    "h": 281.5
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#5B48DD
secondary
#D7DEA2
accent
#EC3CD5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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