#5B48CE#5B48CE

#5B48CE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.2% C 0.197 H 283.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5B48CE
RGBrgb(91, 72, 206)
HSLhsl(249, 58%, 55%)
HSVhsv(249, 65%, 81%)
CMYKcmyk(55.8%, 65%, 0%, 19.2%)
CIE-LABlab(40.10, 44.07, -66.90)
CIE-LCHlch(40.10, 80.11, 303.37°)
OKLaboklab(50.23% 0.0448 -0.1923)
OKLCHoklch(50.23% 0.197 283.1)
XYZxyz(17.7689, 11.3140, 59.6281)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B48CE #BBCE48
analogous
#4878CE #5B48CE #9E48CE
triadic
#5B48CE #CE5B48 #48CE5B
tetradic
#5B48CE #CE4878 #BBCE48 #48CE9E
square
#5B48CE #CE4878 #BBCE48 #48CE9E
split-complementary
#5B48CE #CE9E48 #78CE48
monochromatic
#2E217B #402EAB #5B48CE #8678DB #B2A9E8

Accessibility & contrast

On white

6.44
#5B48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5B48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B48CE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B48CE#FFFFFF#000000##FFFFFF
##5B48CE1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#226A85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b48ce;
/* rgb */ color: rgb(91, 72, 206);
/* oklch */ color: oklch(50.2% 0.197 283.1);
Tailwind
colors: {
  custom: {
    50: '#947cde',
    500: '#5b48ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b48ce;
$custom-light: #947cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5b48ce",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 248.507,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50234,
    "c": 0.19747,
    "h": 283.1
  },
  "luminance": 0.11315
}

Semantic roles & 50–950 ramp

primary
#5B48CE
secondary
#CDD59D
accent
#E147CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5B48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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