#5B5DED#5B5DED

#5B5DED is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.2% C 0.212 H 276.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5B5DED
RGBrgb(91, 93, 237)
HSLhsl(239, 80%, 64%)
HSVhsv(239, 62%, 93%)
CMYKcmyk(61.6%, 60.8%, 0%, 7.1%)
CIE-LABlab(47.19, 41.49, -73.00)
CIE-LCHlch(47.19, 83.97, 299.61°)
OKLaboklab(56.16% 0.0242 -0.2101)
OKLCHoklch(56.16% 0.212 276.6)
XYZxyz(23.5098, 16.1654, 81.9857)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5DED #EDEB5B
analogous
#5BA6ED #5B5DED #A25BED
triadic
#5B5DED #ED5B5D #5DED5B
tetradic
#5B5DED #ED5BA6 #EDEB5B #5BEDA2
square
#5B5DED #ED5BA6 #EDEB5B #5BEDA2
split-complementary
#5B5DED #EDA25B #A6ED5B
monochromatic
#1417B9 #2427E7 #5B5DED #9293F3 #C9CAF9

Accessibility & contrast

On white

4.96
#5B5DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5B5DED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5DED
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5DED#FFFFFF#000000##FFFFFF
##5B5DED1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#00819C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b5ded;
/* rgb */ color: rgb(91, 93, 237);
/* oklch */ color: oklch(56.2% 0.212 276.6);
Tailwind
colors: {
  custom: {
    50: '#988bf4',
    500: '#5b5ded',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ded;
$custom-light: #988bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ded",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 239.178,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56162,
    "c": 0.21153,
    "h": 276.6
  },
  "luminance": 0.16167
}

Semantic roles & 50–950 ramp

primary
#5B5DED
secondary
#EBEBB9
accent
#DA09DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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