#5D4FC2#5D4FC2

#5D4FC2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.173 H 283.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5D4FC2
RGBrgb(93, 79, 194)
HSLhsl(247, 49%, 54%)
HSVhsv(247, 59%, 76%)
CMYKcmyk(52.1%, 59.3%, 0%, 23.9%)
CIE-LABlab(40.92, 36.63, -58.61)
CIE-LCHlch(40.92, 69.11, 302.00°)
OKLaboklab(50.58% 0.0414 -0.1679)
OKLCHoklch(50.58% 0.173 283.9)
XYZxyz(17.0448, 11.8132, 52.4105)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FC2 #B4C24F
analogous
#4F7AC2 #5D4FC2 #964FC2
triadic
#5D4FC2 #C25D4F #4FC25D
tetradic
#5D4FC2 #C24F7A #B4C24F #4FC296
square
#5D4FC2 #C24F7A #B4C24F #4FC296
split-complementary
#5D4FC2 #C2964F #7AC24F
monochromatic
#302770 #43379D #5D4FC2 #877CD2 #B1AAE2

Accessibility & contrast

On white

6.24
#5D4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5D4FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FC2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FC2#FFFFFF#000000##FFFFFF
##5D4FC21.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#356A81
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d4fc2;
/* rgb */ color: rgb(93, 79, 194);
/* oklch */ color: oklch(50.6% 0.173 283.9);
Tailwind
colors: {
  custom: {
    50: '#9381d5',
    500: '#5d4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fc2;
$custom-light: #9381d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fc2",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 247.304,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50583,
    "c": 0.1729,
    "h": 283.9
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#5D4FC2
secondary
#C9CF9E
accent
#D850C7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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