#5D5CCD#5D5CCD

#5D5CCD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.170 H 279.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5D5CCD
RGBrgb(93, 92, 205)
HSLhsl(241, 53%, 58%)
HSVhsv(241, 55%, 80%)
CMYKcmyk(54.6%, 55.1%, 0%, 19.6%)
CIE-LABlab(44.78, 32.17, -58.71)
CIE-LCHlch(44.78, 66.95, 298.72°)
OKLaboklab(53.69% 0.0278 -0.1681)
OKLCHoklch(53.69% 0.17 279.4)
XYZxyz(19.3573, 14.3880, 59.5029)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CCD #CCCD5C
analogous
#5C93CD #5D5CCD #955CCD
triadic
#5D5CCD #CD5D5C #5CCD5D
tetradic
#5D5CCD #CD5C93 #CCCD5C #5CCD95
square
#5D5CCD #CD5C93 #CCCD5C #5CCD95
split-complementary
#5D5CCD #CD955C #93CD5C
monochromatic
#2A2986 #3837B4 #5D5CCD #8C8BDB #BABAEA

Accessibility & contrast

On white

5.42
#5D5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5D5CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CCD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CCD#FFFFFF#000000##FFFFFF
##5D5CCD1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6ED1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#27768B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d5ccd;
/* rgb */ color: rgb(93, 92, 205);
/* oklch */ color: oklch(53.7% 0.170 279.4);
Tailwind
colors: {
  custom: {
    50: '#948add',
    500: '#5d5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ccd;
$custom-light: #948add;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ccd",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 240.531,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.17037,
    "h": 279.4
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#5D5CCD
secondary
#D9D9AC
accent
#DC4BDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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