#5B4EE4#5B4EE4

#5B4EE4 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.0% C 0.218 H 279.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5B4EE4
RGBrgb(91, 78, 228)
HSLhsl(245, 74%, 60%)
HSVhsv(245, 66%, 89%)
CMYKcmyk(60.1%, 65.8%, 0%, 10.6%)
CIE-LABlab(43.17, 47.40, -74.48)
CIE-LCHlch(43.17, 88.29, 302.47°)
OKLaboklab(53.01% 0.0372 -0.2146)
OKLCHoklch(53.01% 0.218 279.8)
XYZxyz(21.0379, 13.2728, 74.8370)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4EE4 #D7E44E
analogous
#4E8CE4 #5B4EE4 #A64EE4
triadic
#5B4EE4 #E45B4E #4EE45B
tetradic
#5B4EE4 #E44E8C #D7E44E #4EE4A6
square
#5B4EE4 #E44E8C #D7E44E #4EE4A6
split-complementary
#5B4EE4 #E4A64E #8CE44E
monochromatic
#24189F #3020D4 #5B4EE4 #8C83EC #BDB8F4

Accessibility & contrast

On white

5.75
#5B4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5B4EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4EE4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4EE4#FFFFFF#000000##FFFFFF
##5B4EE41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5b4ee4;
/* rgb */ color: rgb(91, 78, 228);
/* oklch */ color: oklch(53.0% 0.218 279.8);
Tailwind
colors: {
  custom: {
    50: '#9781ee',
    500: '#5b4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ee4;
$custom-light: #9781ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ee4",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 245.2,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.21776,
    "h": 279.8
  },
  "luminance": 0.13274
}

Semantic roles & 50–950 ramp

primary
#5B4EE4
secondary
#DFE4AA
accent
#F038E0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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