#5B4AE2#5B4AE2

#5B4AE2 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.2% C 0.220 H 280.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5B4AE2
RGBrgb(91, 74, 226)
HSLhsl(247, 72%, 59%)
HSVhsv(247, 67%, 89%)
CMYKcmyk(59.7%, 67.3%, 0%, 11.4%)
CIE-LABlab(42.17, 49.05, -74.98)
CIE-LCHlch(42.17, 89.60, 303.19°)
OKLaboklab(52.24% 0.0406 -0.216)
OKLCHoklch(52.24% 0.22 280.6)
XYZxyz(20.4863, 12.6112, 73.2914)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4AE2 #D1E24A
analogous
#4A85E2 #5B4AE2 #A74AE2
triadic
#5B4AE2 #E25B4A #4AE25B
tetradic
#5B4AE2 #E24A85 #D1E24A #4AE2A7
square
#5B4AE2 #E24A85 #D1E24A #4AE2A7
split-complementary
#5B4AE2 #E2A74A #85E24A
monochromatic
#271999 #3421CE #5B4AE2 #8B7FEA #BBB3F3

Accessibility & contrast

On white

5.96
#5B4AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5B4AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4AE2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4AE2#FFFFFF#000000##FFFFFF
##5B4AE21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4ae2;
/* rgb */ color: rgb(91, 74, 226);
/* oklch */ color: oklch(52.2% 0.220 280.6);
Tailwind
colors: {
  custom: {
    50: '#977eec',
    500: '#5b4ae2',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ae2;
$custom-light: #977eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ae2",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 246.711,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52236,
    "c": 0.21981,
    "h": 280.6
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#5B4AE2
secondary
#DBE2A6
accent
#EF39DB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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