#5D5DEB#5D5DEB

#5D5DEB is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.1% C 0.209 H 277.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5D5DEB
RGBrgb(93, 93, 235)
HSLhsl(240, 78%, 64%)
HSVhsv(240, 60%, 92%)
CMYKcmyk(60.4%, 60.4%, 0%, 7.8%)
CIE-LABlab(47.17, 41.16, -71.90)
CIE-LCHlch(47.17, 82.85, 299.79°)
OKLaboklab(56.14% 0.0266 -0.2069)
OKLCHoklch(56.14% 0.209 277.3)
XYZxyz(23.4191, 16.1522, 80.4647)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DEB #EBEB5D
analogous
#5DA4EB #5D5DEB #A45DEB
triadic
#5D5DEB #EB5D5D #5DEB5D
tetradic
#5D5DEB #EB5DA4 #EBEB5D #5DEBA4
square
#5D5DEB #EB5DA4 #EBEB5D #5DEBA4
split-complementary
#5D5DEB #EBA45D #A4EB5D
monochromatic
#1717B7 #2727E4 #5D5DEB #9393F2 #CACAF8

Accessibility & contrast

On white

4.96
#5D5DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5D5DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DEB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DEB#FFFFFF#000000##FFFFFF
##5D5DEB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d5deb;
/* rgb */ color: rgb(93, 93, 235);
/* oklch */ color: oklch(56.1% 0.209 277.3);
Tailwind
colors: {
  custom: {
    50: '#988bf2',
    500: '#5d5deb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5deb;
$custom-light: #988bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5deb",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.20856,
    "h": 277.3
  },
  "luminance": 0.16154
}

Semantic roles & 50–950 ramp

primary
#5D5DEB
secondary
#EBEBB9
accent
#DA0BDA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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