#5B4EE9#5B4EE9

#5B4EE9 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.224 H 279.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5B4EE9
RGBrgb(91, 78, 233)
HSLhsl(245, 78%, 61%)
HSVhsv(245, 67%, 91%)
CMYKcmyk(60.9%, 66.5%, 0%, 8.6%)
CIE-LABlab(43.59, 48.95, -76.63)
CIE-LCHlch(43.59, 90.93, 302.57°)
OKLaboklab(53.44% 0.0366 -0.2209)
OKLCHoklch(53.44% 0.224 279.4)
XYZxyz(21.7421, 13.5545, 78.5455)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4EE9 #DCE94E
analogous
#4E8EE9 #5B4EE9 #A84EE9
triadic
#5B4EE9 #E95B4E #4EE95B
tetradic
#5B4EE9 #E94E8E #DCE94E #4EE9A8
square
#5B4EE9 #E94E8E #DCE94E #4EE9A8
split-complementary
#5B4EE9 #E9A84E #8EE94E
monochromatic
#2115A8 #2C1CDE #5B4EE9 #8D84F0 #C0BBF7

Accessibility & contrast

On white

5.66
#5B4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5B4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4EE9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4EE9#FFFFFF#000000##FFFFFF
##5B4EE91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0061E6
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b4ee9;
/* rgb */ color: rgb(91, 78, 233);
/* oklch */ color: oklch(53.4% 0.224 279.4);
Tailwind
colors: {
  custom: {
    50: '#9881f1',
    500: '#5b4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ee9;
$custom-light: #9881f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ee9",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 245.032,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.22388,
    "h": 279.4
  },
  "luminance": 0.13556
}

Semantic roles & 50–950 ramp

primary
#5B4EE9
secondary
#E2E7AC
accent
#DA0BC9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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