#5D4CC0#5D4CC0

#5D4CC0 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.9% C 0.174 H 284.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5D4CC0
RGBrgb(93, 76, 192)
HSLhsl(249, 48%, 53%)
HSVhsv(249, 60%, 75%)
CMYKcmyk(51.6%, 60.4%, 0%, 24.7%)
CIE-LABlab(40.08, 37.81, -58.80)
CIE-LCHlch(40.08, 69.90, 302.74°)
OKLaboklab(49.92% 0.0447 -0.1684)
OKLCHoklch(49.92% 0.174 284.9)
XYZxyz(16.6102, 11.3009, 51.1650)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CC0 #AFC04C
analogous
#4C75C0 #5D4CC0 #974CC0
triadic
#5D4CC0 #C05D4C #4CC05D
tetradic
#5D4CC0 #C04C75 #AFC04C #4CC097
square
#5D4CC0 #C04C75 #AFC04C #4CC097
split-complementary
#5D4CC0 #C0974C #75C04C
monochromatic
#30266C #443699 #5D4CC0 #8679D0 #AFA7E0

Accessibility & contrast

On white

6.44
#5D4CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5D4CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CC0
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CC0#FFFFFF#000000##FFFFFF
##5D4CC01.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#37677F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d4cc0;
/* rgb */ color: rgb(93, 76, 192);
/* oklch */ color: oklch(49.9% 0.174 284.9);
Tailwind
colors: {
  custom: {
    50: '#937fd4',
    500: '#5d4cc0',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cc0;
$custom-light: #937fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cc0",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 248.793,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49924,
    "c": 0.17424,
    "h": 284.9
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#5D4CC0
secondary
#C6CD9B
accent
#D850C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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