#5B4AE6#5B4AE6

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

Color values

HEX#5B4AE6
RGBrgb(91, 74, 230)
HSLhsl(247, 76%, 60%)
HSVhsv(247, 68%, 90%)
CMYKcmyk(60.4%, 67.8%, 0%, 9.8%)
CIE-LABlab(42.51, 50.27, -76.70)
CIE-LCHlch(42.51, 91.70, 303.24°)
OKLaboklab(52.59% 0.04 -0.221)
OKLCHoklch(52.59% 0.225 280.3)
XYZxyz(21.0416, 12.8333, 76.2158)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4AE6 #D5E64A
analogous
#4A87E6 #5B4AE6 #A94AE6
triadic
#5B4AE6 #E65B4A #4AE65B
tetradic
#5B4AE6 #E64A87 #D5E64A #4AE6A9
square
#5B4AE6 #E64A87 #D5E64A #4AE6A9
split-complementary
#5B4AE6 #E6A94A #87E64A
monochromatic
#2516A0 #321DD5 #5B4AE6 #8C80ED #BCB6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B4AE6#FFFFFF#000000##FFFFFF
##5B4AE61.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)
#006AEB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4ae6;
/* rgb */ color: rgb(91, 74, 230);
/* oklch */ color: oklch(52.6% 0.225 280.3);
Tailwind
colors: {
  custom: {
    50: '#987eef',
    500: '#5b4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ae6;
$custom-light: #987eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ae6",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 246.538,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.22465,
    "h": 280.3
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#5B4AE6
secondary
#DEE4A8
accent
#F235DE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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