#5D4FCC#5D4FCC

#5D4FCC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.4% C 0.186 H 282.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5D4FCC
RGBrgb(93, 79, 204)
HSLhsl(247, 55%, 55%)
HSVhsv(247, 61%, 80%)
CMYKcmyk(54.4%, 61.3%, 0%, 20%)
CIE-LABlab(41.65, 39.71, -63.21)
CIE-LCHlch(41.65, 74.65, 302.14°)
OKLaboklab(51.36% 0.041 -0.1814)
OKLCHoklch(51.36% 0.186 282.7)
XYZxyz(18.2059, 12.2777, 58.5255)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FCC #BECC4F
analogous
#4F7FCC #5D4FCC #9B4FCC
triadic
#5D4FCC #CC5D4F #4FCC5D
tetradic
#5D4FCC #CC4F7F #BECC4F #4FCC9B
square
#5D4FCC #CC4F7F #BECC4F #4FCC9B
split-complementary
#5D4FCC #CC9B4F #7FCC4F
monochromatic
#2E247D #4032AC #5D4FCC #897EDA #B4AEE7

Accessibility & contrast

On white

6.08
#5D4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5D4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FCC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FCC#FFFFFF#000000##FFFFFF
##5D4FCC1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#2A6D86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4fcc;
/* rgb */ color: rgb(93, 79, 204);
/* oklch */ color: oklch(51.4% 0.186 282.7);
Tailwind
colors: {
  custom: {
    50: '#9481dc',
    500: '#5d4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fcc;
$custom-light: #9481dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fcc",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 246.72,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.18597,
    "h": 282.7
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#5D4FCC
secondary
#D0D5A1
accent
#DE49CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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