#5D5BED#5D5BED

#5D5BED is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.213 H 277.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5D5BED
RGBrgb(93, 91, 237)
HSLhsl(241, 80%, 64%)
HSVhsv(241, 62%, 93%)
CMYKcmyk(60.8%, 61.6%, 0%, 7.1%)
CIE-LABlab(46.87, 42.98, -73.52)
CIE-LCHlch(46.87, 85.16, 300.31°)
OKLaboklab(55.96% 0.0282 -0.2116)
OKLCHoklch(55.96% 0.213 277.6)
XYZxyz(23.5364, 15.9219, 81.9373)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BED #EBED5B
analogous
#5BA2ED #5D5BED #A65BED
triadic
#5D5BED #ED5D5B #5BED5D
tetradic
#5D5BED #ED5BA2 #EBED5B #5BEDA6
square
#5D5BED #ED5BA2 #EBED5B #5BEDA6
split-complementary
#5D5BED #EDA65B #A2ED5B
monochromatic
#1714B9 #2724E7 #5D5BED #9392F3 #CAC9F9

Accessibility & contrast

On white

5.02
#5D5BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D5BED
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BED#FFFFFF#000000##FFFFFF
##5D5BED1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5bed;
/* rgb */ color: rgb(93, 91, 237);
/* oklch */ color: oklch(56.0% 0.213 277.6);
Tailwind
colors: {
  custom: {
    50: '#998af4',
    500: '#5d5bed',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bed;
$custom-light: #998af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bed",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 240.822,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.21348,
    "h": 277.6
  },
  "luminance": 0.15924
}

Semantic roles & 50–950 ramp

primary
#5D5BED
secondary
#EBEBB9
accent
#DD09DA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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