#5B4FED#5B4FED

#5B4FED is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.9% C 0.228 H 278.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5B4FED
RGBrgb(91, 79, 237)
HSLhsl(245, 81%, 62%)
HSVhsv(245, 67%, 93%)
CMYKcmyk(61.6%, 66.7%, 0%, 7.1%)
CIE-LABlab(44.13, 49.62, -78.00)
CIE-LCHlch(44.13, 92.45, 302.46°)
OKLaboklab(53.93% 0.0353 -0.2249)
OKLCHoklch(53.93% 0.228 278.9)
XYZxyz(22.3915, 13.9288, 81.6129)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4FED #E1ED4F
analogous
#4F92ED #5B4FED #AA4FED
triadic
#5B4FED #ED5B4F #4FED5B
tetradic
#5B4FED #ED4F92 #E1ED4F #4FEDAA
square
#5B4FED #ED4F92 #E1ED4F #4FEDAA
split-complementary
#5B4FED #EDAA4F #92ED4F
monochromatic
#1E12B0 #2718E7 #5B4FED #8F87F3 #C2BEF8

Accessibility & contrast

On white

5.55
#5B4FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5B4FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4FED
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4FED#FFFFFF#000000##FFFFFF
##5B4FED1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0062EA
Tritanopia (blue-blind)
#007998
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b4fed;
/* rgb */ color: rgb(91, 79, 237);
/* oklch */ color: oklch(53.9% 0.228 278.9);
Tailwind
colors: {
  custom: {
    50: '#9982f4',
    500: '#5b4fed',
    950: '#000000',
  },
}
SCSS
$custom: #5b4fed;
$custom-light: #9982f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4fed",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 244.557,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53933,
    "c": 0.22762,
    "h": 278.9
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

primary
#5B4FED
secondary
#E5E9AF
accent
#DE08CE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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