#5D4CC2#5D4CC2

#5D4CC2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.1% C 0.177 H 284.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5D4CC2
RGBrgb(93, 76, 194)
HSLhsl(249, 49%, 53%)
HSVhsv(249, 61%, 76%)
CMYKcmyk(52.1%, 60.8%, 0%, 23.9%)
CIE-LABlab(40.23, 38.42, -59.72)
CIE-LCHlch(40.23, 71.01, 302.75°)
OKLaboklab(50.08% 0.0446 -0.1711)
OKLCHoklch(50.08% 0.177 284.6)
XYZxyz(16.8333, 11.3902, 52.3400)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CC2 #B1C24C
analogous
#4C76C2 #5D4CC2 #984CC2
triadic
#5D4CC2 #C25D4C #4CC25D
tetradic
#5D4CC2 #C24C76 #B1C24C #4CC298
square
#5D4CC2 #C24C76 #B1C24C #4CC298
split-complementary
#5D4CC2 #C2984C #76C24C
monochromatic
#30266E #44359C #5D4CC2 #867AD2 #B0A7E1

Accessibility & contrast

On white

6.41
#5D4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5D4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CC2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CC2#FFFFFF#000000##FFFFFF
##5D4CC21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#356880
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d4cc2;
/* rgb */ color: rgb(93, 76, 194);
/* oklch */ color: oklch(50.1% 0.177 284.6);
Tailwind
colors: {
  custom: {
    50: '#937fd5',
    500: '#5d4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cc2;
$custom-light: #937fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cc2",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 248.644,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.17686,
    "h": 284.6
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#5D4CC2
secondary
#C7CE9B
accent
#D94FC5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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