#5B4EE7#5B4EE7

#5B4EE7 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.3% C 0.221 H 279.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5B4EE7
RGBrgb(91, 78, 231)
HSLhsl(245, 76%, 61%)
HSVhsv(245, 66%, 91%)
CMYKcmyk(60.6%, 66.2%, 0%, 9.4%)
CIE-LABlab(43.42, 48.33, -75.78)
CIE-LCHlch(43.42, 89.88, 302.53°)
OKLaboklab(53.27% 0.0368 -0.2183)
OKLCHoklch(53.27% 0.221 279.6)
XYZxyz(21.4580, 13.4408, 77.0494)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4EE7 #DAE74E
analogous
#4E8DE7 #5B4EE7 #A74EE7
triadic
#5B4EE7 #E75B4E #4EE75B
tetradic
#5B4EE7 #E74E8D #DAE74E #4EE7A7
square
#5B4EE7 #E74E8D #DAE74E #4EE7A7
split-complementary
#5B4EE7 #E7A74E #8DE74E
monochromatic
#2216A4 #2E1EDA #5B4EE7 #8D84EE #BFBAF6

Accessibility & contrast

On white

5.69
#5B4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5B4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4EE7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4EE7#FFFFFF#000000##FFFFFF
##5B4EE71.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b4ee7;
/* rgb */ color: rgb(91, 78, 231);
/* oklch */ color: oklch(53.3% 0.221 279.6);
Tailwind
colors: {
  custom: {
    50: '#9881f0',
    500: '#5b4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ee7;
$custom-light: #9881f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ee7",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 245.098,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53266,
    "c": 0.22143,
    "h": 279.6
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#5B4EE7
secondary
#E1E5AB
accent
#D80DC7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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