#5B4CE1#5B4CE1

#5B4CE1 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.4% C 0.216 H 280.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5B4CE1
RGBrgb(91, 76, 225)
HSLhsl(246, 71%, 59%)
HSVhsv(246, 66%, 88%)
CMYKcmyk(59.6%, 66.2%, 0%, 11.8%)
CIE-LABlab(42.50, 47.61, -73.87)
CIE-LCHlch(42.50, 87.89, 302.80°)
OKLaboklab(52.45% 0.0392 -0.2128)
OKLCHoklch(52.45% 0.216 280.4)
XYZxyz(20.4851, 12.8278, 72.6161)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CE1 #D2E14C
analogous
#4C88E1 #5B4CE1 #A64CE1
triadic
#5B4CE1 #E15B4C #4CE15B
tetradic
#5B4CE1 #E14C88 #D2E14C #4CE1A6
square
#5B4CE1 #E14C88 #D2E14C #4CE1A6
split-complementary
#5B4CE1 #E1A64C #88E14C
monochromatic
#261A99 #3422CD #5B4CE1 #8B80EA #BBB5F3

Accessibility & contrast

On white

5.89
#5B4CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5B4CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CE1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CE1#FFFFFF#000000##FFFFFF
##5B4CE11.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#007390
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4ce1;
/* rgb */ color: rgb(91, 76, 225);
/* oklch */ color: oklch(52.4% 0.216 280.4);
Tailwind
colors: {
  custom: {
    50: '#977fec',
    500: '#5b4ce1',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ce1;
$custom-light: #977fec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ce1",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 246.04,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.21634,
    "h": 280.4
  },
  "luminance": 0.12829
}

Semantic roles & 50–950 ramp

primary
#5B4CE1
secondary
#DCE2A7
accent
#EE3ADC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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