#5B4CE0#5B4CE0

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

Color values

HEX#5B4CE0
RGBrgb(91, 76, 224)
HSLhsl(246, 70%, 59%)
HSVhsv(246, 66%, 88%)
CMYKcmyk(59.4%, 66.1%, 0%, 12.2%)
CIE-LABlab(42.42, 47.31, -73.44)
CIE-LCHlch(42.42, 87.36, 302.79°)
OKLaboklab(52.36% 0.0393 -0.2115)
OKLCHoklch(52.36% 0.215 280.5)
XYZxyz(20.3491, 12.7734, 71.8998)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CE0 #D1E04C
analogous
#4C87E0 #5B4CE0 #A54CE0
triadic
#5B4CE0 #E05B4C #4CE05B
tetradic
#5B4CE0 #E04C87 #D1E04C #4CE0A5
square
#5B4CE0 #E04C87 #D1E04C #4CE0A5
split-complementary
#5B4CE0 #E0A54C #87E04C
monochromatic
#271A97 #3423CC #5B4CE0 #8B80E9 #BBB4F2

Accessibility & contrast

On white

5.91
#5B4CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5B4CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CE0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CE0#FFFFFF#000000##FFFFFF
##5B4CE01.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#005FDD
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4ce0;
/* rgb */ color: rgb(91, 76, 224);
/* oklch */ color: oklch(52.4% 0.215 280.5);
Tailwind
colors: {
  custom: {
    50: '#977feb',
    500: '#5b4ce0',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ce0;
$custom-light: #977feb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ce0",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 246.081,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52364,
    "c": 0.21512,
    "h": 280.5
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#5B4CE0
secondary
#DBE1A7
accent
#ED3BDB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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