#5B4DEB#5B4DEB

#5B4DEB is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.5% C 0.227 H 279.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5B4DEB
RGBrgb(91, 77, 235)
HSLhsl(245, 80%, 61%)
HSVhsv(245, 67%, 92%)
CMYKcmyk(61.3%, 67.2%, 0%, 7.8%)
CIE-LABlab(43.55, 50.13, -77.83)
CIE-LCHlch(43.55, 92.57, 302.79°)
OKLaboklab(53.46% 0.0371 -0.2244)
OKLCHoklch(53.46% 0.227 279.4)
XYZxyz(21.9589, 13.5284, 80.0352)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4DEB #DDEB4D
analogous
#4D8EEB #5B4DEB #AA4DEB
triadic
#5B4DEB #EB5B4D #4DEB5B
tetradic
#5B4DEB #EB4D8E #DDEB4D #4DEBAA
square
#5B4DEB #EB4D8E #DDEB4D #4DEBAA
split-complementary
#5B4DEB #EBAA4D #8EEB4D
monochromatic
#2113AA #2B19E1 #5B4DEB #8E84F1 #C0BBF7

Accessibility & contrast

On white

5.67
#5B4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B4DEB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4DEB#FFFFFF#000000##FFFFFF
##5B4DEB1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b4deb;
/* rgb */ color: rgb(91, 77, 235);
/* oklch */ color: oklch(53.5% 0.227 279.4);
Tailwind
colors: {
  custom: {
    50: '#9880f3',
    500: '#5b4deb',
    950: '#000000',
  },
}
SCSS
$custom: #5b4deb;
$custom-light: #9880f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4deb",
  "rgb": {
    "r": 91,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 245.316,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.2274,
    "h": 279.4
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#5B4DEB
secondary
#E2E8AC
accent
#DC09C9
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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