#5D5BE2#5D5BE2

#5D5BE2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.1% C 0.199 H 278.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5D5BE2
RGBrgb(93, 91, 226)
HSLhsl(241, 70%, 62%)
HSVhsv(241, 60%, 89%)
CMYKcmyk(58.8%, 59.7%, 0%, 11.4%)
CIE-LABlab(46.04, 39.48, -68.66)
CIE-LCHlch(46.04, 79.20, 299.90°)
OKLaboklab(55.09% 0.0287 -0.1974)
OKLCHoklch(55.09% 0.199 278.3)
XYZxyz(21.9784, 15.2987, 73.7315)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BE2 #E0E25B
analogous
#5B9DE2 #5D5BE2 #A15BE2
triadic
#5D5BE2 #E25D5B #5BE25D
tetradic
#5D5BE2 #E25B9D #E0E25B #5BE2A1
square
#5D5BE2 #E25B9D #E0E25B #5BE2A1
split-complementary
#5D5BE2 #E2A15B #9DE25B
monochromatic
#1F1DA5 #2A27D9 #5D5BE2 #908FEB #C4C3F4

Accessibility & contrast

On white

5.17
#5D5BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5D5BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BE2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BE2#FFFFFF#000000##FFFFFF
##5D5BE21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d5be2;
/* rgb */ color: rgb(93, 91, 226);
/* oklch */ color: oklch(55.1% 0.199 278.3);
Tailwind
colors: {
  custom: {
    50: '#9789ec',
    500: '#5d5be2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5be2;
$custom-light: #9789ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5be2",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 240.889,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55092,
    "c": 0.19943,
    "h": 278.3
  },
  "luminance": 0.153
}

Semantic roles & 50–950 ramp

primary
#5D5BE2
secondary
#E4E5B4
accent
#D214CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D5BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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