#5D5DCD#5D5DCD

#5D5DCD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.169 H 279.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5D5DCD
RGBrgb(93, 93, 205)
HSLhsl(240, 53%, 58%)
HSVhsv(240, 55%, 80%)
CMYKcmyk(54.6%, 54.6%, 0%, 19.6%)
CIE-LABlab(45.03, 31.56, -58.32)
CIE-LCHlch(45.03, 66.31, 298.42°)
OKLaboklab(53.87% 0.0267 -0.1669)
OKLCHoklch(53.87% 0.169 279.1)
XYZxyz(19.4445, 14.5624, 59.5320)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5DCD #CDCD5D
analogous
#5D95CD #5D5DCD #955DCD
triadic
#5D5DCD #CD5D5D #5DCD5D
tetradic
#5D5DCD #CD5D95 #CDCD5D #5DCD95
square
#5D5DCD #CD5D95 #CDCD5D #5DCD95
split-complementary
#5D5DCD #CD955D #95CD5D
monochromatic
#292986 #3838B5 #5D5DCD #8C8CDB #BBBBEA

Accessibility & contrast

On white

5.37
#5D5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5D5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5DCD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5DCD#FFFFFF#000000##FFFFFF
##5D5DCD1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#27778C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d5dcd;
/* rgb */ color: rgb(93, 93, 205);
/* oklch */ color: oklch(53.9% 0.169 279.1);
Tailwind
colors: {
  custom: {
    50: '#948bdd',
    500: '#5d5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5d5dcd;
$custom-light: #948bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5dcd",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53872,
    "c": 0.16905,
    "h": 279.1
  },
  "luminance": 0.14564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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