#5D5BE8#5D5BE8

#5D5BE8 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.207 H 277.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5D5BE8
RGBrgb(93, 91, 232)
HSLhsl(241, 75%, 63%)
HSVhsv(241, 61%, 91%)
CMYKcmyk(59.9%, 60.8%, 0%, 9%)
CIE-LABlab(46.49, 41.39, -71.32)
CIE-LCHlch(46.49, 82.46, 300.13°)
OKLaboklab(55.56% 0.0284 -0.2052)
OKLCHoklch(55.56% 0.207 277.9)
XYZxyz(22.8161, 15.6338, 78.1436)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BE8 #E6E85B
analogous
#5B9FE8 #5D5BE8 #A35BE8
triadic
#5D5BE8 #E85D5B #5BE85D
tetradic
#5D5BE8 #E85B9F #E6E85B #5BE8A3
square
#5D5BE8 #E85B9F #E6E85B #5BE8A3
split-complementary
#5D5BE8 #E8A35B #9FE85B
monochromatic
#1B19B0 #2825E0 #5D5BE8 #9291F0 #C7C6F7

Accessibility & contrast

On white

5.09
#5D5BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5D5BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BE8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BE8#FFFFFF#000000##FFFFFF
##5D5BE81.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5be8;
/* rgb */ color: rgb(93, 91, 232);
/* oklch */ color: oklch(55.6% 0.207 277.9);
Tailwind
colors: {
  custom: {
    50: '#988af0',
    500: '#5d5be8',
    950: '#000000',
  },
}
SCSS
$custom: #5d5be8;
$custom-light: #988af0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5be8",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 240.851,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.20714,
    "h": 277.9
  },
  "luminance": 0.15636
}

Semantic roles & 50–950 ramp

primary
#5D5BE8
secondary
#E8E9B6
accent
#D80ED5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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