#5B5DE8#5B5DE8

#5B5DE8 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.8% C 0.205 H 276.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5B5DE8
RGBrgb(91, 93, 232)
HSLhsl(239, 75%, 63%)
HSVhsv(239, 61%, 91%)
CMYKcmyk(60.8%, 59.9%, 0%, 9%)
CIE-LABlab(46.81, 39.88, -70.80)
CIE-LCHlch(46.81, 81.26, 299.39°)
OKLaboklab(55.77% 0.0244 -0.2037)
OKLCHoklch(55.77% 0.205 276.8)
XYZxyz(22.7895, 15.8773, 78.1920)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5DE8 #E8E65B
analogous
#5BA3E8 #5B5DE8 #9F5BE8
triadic
#5B5DE8 #E85B5D #5DE85B
tetradic
#5B5DE8 #E85BA3 #E8E65B #5BE89F
square
#5B5DE8 #E85BA3 #E8E65B #5BE89F
split-complementary
#5B5DE8 #E89F5B #A3E85B
monochromatic
#191BB0 #2528E0 #5B5DE8 #9192F0 #C6C7F7

Accessibility & contrast

On white

5.03
#5B5DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5B5DE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5DE8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5DE8#FFFFFF#000000##FFFFFF
##5B5DE81.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b5de8;
/* rgb */ color: rgb(91, 93, 232);
/* oklch */ color: oklch(55.8% 0.205 276.8);
Tailwind
colors: {
  custom: {
    50: '#978bf0',
    500: '#5b5de8',
    950: '#000000',
  },
}
SCSS
$custom: #5b5de8;
$custom-light: #978bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5de8",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 239.149,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55766,
    "c": 0.20514,
    "h": 276.8
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#5B5DE8
secondary
#E9E8B6
accent
#D50ED8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B5DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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