#5C4DCD#5C4DCD

#5C4DCD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.0% C 0.190 H 282.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5C4DCD
RGBrgb(92, 77, 205)
HSLhsl(247, 56%, 55%)
HSVhsv(247, 62%, 80%)
CMYKcmyk(55.1%, 62.4%, 0%, 19.6%)
CIE-LABlab(41.20, 41.03, -64.53)
CIE-LCHlch(41.20, 76.47, 302.45°)
OKLaboklab(51.03% 0.0416 -0.1853)
OKLCHoklch(51.03% 0.19 282.6)
XYZxyz(18.0836, 11.9897, 59.1071)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4DCD #BECD4D
analogous
#4D7ECD #5C4DCD #9C4DCD
triadic
#5C4DCD #CD5C4D #4DCD5C
tetradic
#5C4DCD #CD4D7E #BECD4D #4DCD9C
square
#5C4DCD #CD4D7E #BECD4D #4DCD9C
split-complementary
#5C4DCD #CD9C4D #7ECD4D
monochromatic
#2D237D #3F30AC #5C4DCD #887DDA #B4ADE8

Accessibility & contrast

On white

6.18
#5C4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5C4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4DCD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4DCD#FFFFFF#000000##FFFFFF
##5C4DCD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#266C86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c4dcd;
/* rgb */ color: rgb(92, 77, 205);
/* oklch */ color: oklch(51.0% 0.190 282.6);
Tailwind
colors: {
  custom: {
    50: '#9480dd',
    500: '#5c4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5c4dcd;
$custom-light: #9480dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4dcd",
  "rgb": {
    "r": 92,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 247.031,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.18992,
    "h": 282.6
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

primary
#5C4DCD
secondary
#CFD6A0
accent
#DF48CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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