#5B48DF#5B48DF

#5B48DF is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.218 H 281.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5B48DF
RGBrgb(91, 72, 223)
HSLhsl(248, 70%, 58%)
HSVhsv(248, 68%, 87%)
CMYKcmyk(59.2%, 67.7%, 0%, 12.5%)
CIE-LABlab(41.51, 49.25, -74.36)
CIE-LCHlch(41.51, 89.19, 303.52°)
OKLaboklab(51.68% 0.0426 -0.2142)
OKLCHoklch(51.68% 0.218 281.3)
XYZxyz(19.9469, 12.1852, 71.0986)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B48DF #CCDF48
analogous
#4880DF #5B48DF #A748DF
triadic
#5B48DF #DF5B48 #48DF5B
tetradic
#5B48DF #DF4880 #CCDF48 #48DFA7
square
#5B48DF #DF4880 #CCDF48 #48DFA7
split-complementary
#5B48DF #DFA748 #80DF48
monochromatic
#291A93 #3723C7 #5B48DF #8A7CE8 #B8B0F1

Accessibility & contrast

On white

6.11
#5B48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5B48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B48DF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B48DF#FFFFFF#000000##FFFFFF
##5B48DF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b48df;
/* rgb */ color: rgb(91, 72, 223);
/* oklch */ color: oklch(51.7% 0.218 281.3);
Tailwind
colors: {
  custom: {
    50: '#977dea',
    500: '#5b48df',
    950: '#000000',
  },
}
SCSS
$custom: #5b48df;
$custom-light: #977dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b48df",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 247.55,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.2184,
    "h": 281.3
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#5B48DF
secondary
#D8E0A3
accent
#ED3BD7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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