#5B4AE3#5B4AE3

#5B4AE3 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.221 H 280.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5B4AE3
RGBrgb(91, 74, 227)
HSLhsl(247, 73%, 59%)
HSVhsv(247, 67%, 89%)
CMYKcmyk(59.9%, 67.4%, 0%, 11%)
CIE-LABlab(42.26, 49.35, -75.41)
CIE-LCHlch(42.26, 90.13, 303.20°)
OKLaboklab(52.32% 0.0405 -0.2173)
OKLCHoklch(52.32% 0.221 280.6)
XYZxyz(20.6239, 12.6663, 74.0162)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4AE3 #D2E34A
analogous
#4A86E3 #5B4AE3 #A84AE3
triadic
#5B4AE3 #E35B4A #4AE35B
tetradic
#5B4AE3 #E34A86 #D2E34A #4AE3A8
square
#5B4AE3 #E34A86 #D2E34A #4AE3A8
split-complementary
#5B4AE3 #E3A84A #86E34A
monochromatic
#26189B #3420D0 #5B4AE3 #8B7FEB #BBB4F3

Accessibility & contrast

On white

5.94
#5B4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5B4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4AE3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4AE3#FFFFFF#000000##FFFFFF
##5B4AE31.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E8
Deuteranopia (green-blind)
#005EE0
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4ae3;
/* rgb */ color: rgb(91, 74, 227);
/* oklch */ color: oklch(52.3% 0.221 280.6);
Tailwind
colors: {
  custom: {
    50: '#977eed',
    500: '#5b4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ae3;
$custom-light: #977eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ae3",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 246.667,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52323,
    "c": 0.22103,
    "h": 280.6
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#5B4AE3
secondary
#DCE2A6
accent
#F038DB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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