#5D5ECD#5D5ECD

#5D5ECD is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.168 H 278.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5D5ECD
RGBrgb(93, 94, 205)
HSLhsl(239, 53%, 58%)
HSVhsv(239, 55%, 80%)
CMYKcmyk(54.6%, 54.1%, 0%, 19.6%)
CIE-LABlab(45.27, 30.95, -57.92)
CIE-LCHlch(45.27, 65.67, 298.11°)
OKLaboklab(54.06% 0.0257 -0.1657)
OKLCHoklch(54.06% 0.168 278.8)
XYZxyz(19.5329, 14.7391, 59.5614)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5ECD #CDCC5D
analogous
#5D96CD #5D5ECD #945DCD
triadic
#5D5ECD #CD5D5E #5ECD5D
tetradic
#5D5ECD #CD5D96 #CDCC5D #5DCD94
square
#5D5ECD #CD5D96 #CDCC5D #5DCD94
split-complementary
#5D5ECD #CD945D #96CD5D
monochromatic
#292A86 #3839B5 #5D5ECD #8C8CDB #BBBBEA

Accessibility & contrast

On white

5.32
#5D5ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5D5ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5ECD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5ECD#FFFFFF#000000##FFFFFF
##5D5ECD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1870D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#26778C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d5ecd;
/* rgb */ color: rgb(93, 94, 205);
/* oklch */ color: oklch(54.1% 0.168 278.8);
Tailwind
colors: {
  custom: {
    50: '#948bdd',
    500: '#5d5ecd',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ecd;
$custom-light: #948bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ecd",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 239.464,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54056,
    "c": 0.16773,
    "h": 278.8
  },
  "luminance": 0.1474
}

Semantic roles & 50–950 ramp

primary
#5D5ECD
secondary
#D9D9AD
accent
#DB4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D5ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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