#5B4AED#5B4AED

#5B4AED is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.2% C 0.233 H 279.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5B4AED
RGBrgb(91, 74, 237)
HSLhsl(246, 82%, 61%)
HSVhsv(246, 69%, 93%)
CMYKcmyk(61.6%, 68.8%, 0%, 7.1%)
CIE-LABlab(43.11, 52.40, -79.67)
CIE-LCHlch(43.11, 95.36, 303.33°)
OKLaboklab(53.2% 0.039 -0.2297)
OKLCHoklch(53.2% 0.233 279.6)
XYZxyz(22.0444, 13.2344, 81.4972)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4AED #DCED4A
analogous
#4A8AED #5B4AED #AD4AED
triadic
#5B4AED #ED5B4A #4AED5B
tetradic
#5B4AED #ED4A8A #DCED4A #4AEDAD
square
#5B4AED #ED4A8A #DCED4A #4AEDAD
split-complementary
#5B4AED #EDAD4A #8AED4A
monochromatic
#2111AC #2C17E3 #5B4AED #8D82F3 #C0B9F8

Accessibility & contrast

On white

5.76
#5B4AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5B4AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4AED
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4AED#FFFFFF#000000##FFFFFF
##5B4AED1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF2
Deuteranopia (green-blind)
#005FEA
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5b4aed;
/* rgb */ color: rgb(91, 74, 237);
/* oklch */ color: oklch(53.2% 0.233 279.6);
Tailwind
colors: {
  custom: {
    50: '#997ef4',
    500: '#5b4aed',
    950: '#000000',
  },
}
SCSS
$custom: #5b4aed;
$custom-light: #997ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4aed",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 246.258,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.23303,
    "h": 279.6
  },
  "luminance": 0.13236
}

Semantic roles & 50–950 ramp

primary
#5B4AED
secondary
#E2E8AB
accent
#DE07C8
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4AED

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

Preview Lab → · Contrast checker → · Palette generator →

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