#5D5BE5#5D5BE5

#5D5BE5 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.3% C 0.203 H 278.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5D5BE5
RGBrgb(93, 91, 229)
HSLhsl(241, 73%, 63%)
HSVhsv(241, 60%, 90%)
CMYKcmyk(59.4%, 60.3%, 0%, 10.2%)
CIE-LABlab(46.26, 40.43, -70.00)
CIE-LCHlch(46.26, 80.83, 300.01°)
OKLaboklab(55.33% 0.0286 -0.2013)
OKLCHoklch(55.33% 0.203 278.1)
XYZxyz(22.3936, 15.4648, 75.9185)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BE5 #E3E55B
analogous
#5B9EE5 #5D5BE5 #A25BE5
triadic
#5D5BE5 #E55D5B #5BE55D
tetradic
#5D5BE5 #E55B9E #E3E55B #5BE5A2
square
#5D5BE5 #E55B9E #E3E55B #5BE5A2
split-complementary
#5D5BE5 #E5A25B #9EE55B
monochromatic
#1D1BAB #2926DD #5D5BE5 #9190ED #C5C5F6

Accessibility & contrast

On white

5.13
#5D5BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5D5BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BE5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BE5#FFFFFF#000000##FFFFFF
##5D5BE51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5be5;
/* rgb */ color: rgb(93, 91, 229);
/* oklch */ color: oklch(55.3% 0.203 278.1);
Tailwind
colors: {
  custom: {
    50: '#988aee',
    500: '#5d5be5',
    950: '#000000',
  },
}
SCSS
$custom: #5d5be5;
$custom-light: #988aee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5be5",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 240.87,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55327,
    "c": 0.20329,
    "h": 278.1
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#5D5BE5
secondary
#E6E7B5
accent
#D511D2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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