#5B4EE6#5B4EE6

#5B4EE6 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.2% C 0.220 H 279.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5B4EE6
RGBrgb(91, 78, 230)
HSLhsl(245, 75%, 60%)
HSVhsv(245, 66%, 90%)
CMYKcmyk(60.4%, 66.1%, 0%, 9.8%)
CIE-LABlab(43.34, 48.02, -75.35)
CIE-LCHlch(43.34, 89.35, 302.51°)
OKLaboklab(53.18% 0.0369 -0.2171)
OKLCHoklch(53.18% 0.22 279.7)
XYZxyz(21.3172, 13.3845, 76.3077)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4EE6 #D9E64E
analogous
#4E8DE6 #5B4EE6 #A74EE6
triadic
#5B4EE6 #E65B4E #4EE65B
tetradic
#5B4EE6 #E64E8D #D9E64E #4EE6A7
square
#5B4EE6 #E64E8D #D9E64E #4EE6A7
split-complementary
#5B4EE6 #E6A74E #8DE64E
monochromatic
#2317A3 #2E1FD8 #5B4EE6 #8D84EE #BEB9F5

Accessibility & contrast

On white

5.71
#5B4EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5B4EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4EE6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4EE6#FFFFFF#000000##FFFFFF
##5B4EE61.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0060E3
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5b4ee6;
/* rgb */ color: rgb(91, 78, 230);
/* oklch */ color: oklch(53.2% 0.220 279.7);
Tailwind
colors: {
  custom: {
    50: '#9881ef',
    500: '#5b4ee6',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ee6;
$custom-light: #9881ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ee6",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 245.132,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.22021,
    "h": 279.7
  },
  "luminance": 0.13386
}

Semantic roles & 50–950 ramp

primary
#5B4EE6
secondary
#E0E5AB
accent
#D70EC6
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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