#5B4FF5#5B4FF5

#5B4FF5 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.6% C 0.237 H 278.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5B4FF5
RGBrgb(91, 79, 245)
HSLhsl(244, 89%, 64%)
HSVhsv(244, 68%, 96%)
CMYKcmyk(62.9%, 67.8%, 0%, 3.9%)
CIE-LABlab(44.81, 52.09, -81.38)
CIE-LCHlch(44.81, 96.63, 302.62°)
OKLaboklab(54.63% 0.0342 -0.2348)
OKLCHoklch(54.63% 0.237 278.3)
XYZxyz(23.5865, 14.4068, 87.9063)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4FF5 #E9F54F
analogous
#4F96F5 #5B4FF5 #AE4FF5
triadic
#5B4FF5 #F55B4F #4FF55B
tetradic
#5B4FF5 #F54F96 #E9F54F #4FF5AE
square
#5B4FF5 #F54F96 #E9F54F #4FF5AE
split-complementary
#5B4FF5 #F5AE4F #96F54F
monochromatic
#180BBF #2515F2 #5B4FF5 #9189F8 #C7C3FC

Accessibility & contrast

On white

5.41
#5B4FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5B4FF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4FF5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4FF5#FFFFFF#000000##FFFFFF
##5B4FF51.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FA
Deuteranopia (green-blind)
#0063F2
Tritanopia (blue-blind)
#007B9C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b4ff5;
/* rgb */ color: rgb(91, 79, 245);
/* oklch */ color: oklch(54.6% 0.237 278.3);
Tailwind
colors: {
  custom: {
    50: '#9a82fa',
    500: '#5b4ff5',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ff5;
$custom-light: #9a82fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ff5",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 245
  },
  "hsl": {
    "h": 244.337,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.23726,
    "h": 278.3
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#5B4FF5
secondary
#E9EDB2
accent
#E600D5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5B4FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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