#5D5BE4#5D5BE4

#5D5BE4 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.2% C 0.202 H 278.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5D5BE4
RGBrgb(93, 91, 228)
HSLhsl(241, 72%, 63%)
HSVhsv(241, 60%, 89%)
CMYKcmyk(59.2%, 60.1%, 0%, 10.6%)
CIE-LABlab(46.19, 40.12, -69.55)
CIE-LCHlch(46.19, 80.29, 299.98°)
OKLaboklab(55.25% 0.0286 -0.2)
OKLCHoklch(55.25% 0.202 278.1)
XYZxyz(22.2544, 15.4091, 75.1853)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BE4 #E2E45B
analogous
#5B9DE4 #5D5BE4 #A25BE4
triadic
#5D5BE4 #E45D5B #5BE45D
tetradic
#5D5BE4 #E45B9D #E2E45B #5BE4A2
square
#5D5BE4 #E45B9D #E2E45B #5BE4A2
split-complementary
#5D5BE4 #E4A25B #9DE45B
monochromatic
#1E1CA9 #2926DB #5D5BE4 #9190ED #C5C4F5

Accessibility & contrast

On white

5.14
#5D5BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5D5BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BE4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BE4#FFFFFF#000000##FFFFFF
##5D5BE41.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d5be4;
/* rgb */ color: rgb(93, 91, 228);
/* oklch */ color: oklch(55.2% 0.202 278.1);
Tailwind
colors: {
  custom: {
    50: '#978aed',
    500: '#5d5be4',
    950: '#000000',
  },
}
SCSS
$custom: #5d5be4;
$custom-light: #978aed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5be4",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 240.876,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55249,
    "c": 0.202,
    "h": 278.1
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#5D5BE4
secondary
#E6E6B4
accent
#D412D1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D5BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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