#5B4AE5#5B4AE5

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

Color values

HEX#5B4AE5
RGBrgb(91, 74, 229)
HSLhsl(247, 75%, 59%)
HSVhsv(247, 68%, 90%)
CMYKcmyk(60.3%, 67.7%, 0%, 10.2%)
CIE-LABlab(42.43, 49.96, -76.27)
CIE-LCHlch(42.43, 91.18, 303.23°)
OKLaboklab(52.5% 0.0402 -0.2198)
OKLCHoklch(52.5% 0.223 280.4)
XYZxyz(20.9015, 12.7773, 75.4784)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4AE5 #D4E54A
analogous
#4A86E5 #5B4AE5 #A94AE5
triadic
#5B4AE5 #E55B4A #4AE55B
tetradic
#5B4AE5 #E54A86 #D4E54A #4AE5A9
square
#5B4AE5 #E54A86 #D4E54A #4AE5A9
split-complementary
#5B4AE5 #E5A94A #86E54A
monochromatic
#26179E #321ED3 #5B4AE5 #8B80ED #BCB5F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B4AE5#FFFFFF#000000##FFFFFF
##5B4AE51.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)
#006AEA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4ae5;
/* rgb */ color: rgb(91, 74, 229);
/* oklch */ color: oklch(52.5% 0.223 280.4);
Tailwind
colors: {
  custom: {
    50: '#987eee',
    500: '#5b4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ae5;
$custom-light: #987eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ae5",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 246.581,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52497,
    "c": 0.22344,
    "h": 280.4
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#5B4AE5
secondary
#DDE4A7
accent
#F136DD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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