#5D4DC2#5D4DC2

#5D4DC2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.176 H 284.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5D4DC2
RGBrgb(93, 77, 194)
HSLhsl(248, 49%, 53%)
HSVhsv(248, 60%, 76%)
CMYKcmyk(52.1%, 60.3%, 0%, 23.9%)
CIE-LABlab(40.46, 37.82, -59.35)
CIE-LCHlch(40.46, 70.38, 302.51°)
OKLaboklab(50.25% 0.0435 -0.1701)
OKLCHoklch(50.25% 0.176 284.4)
XYZxyz(16.9028, 11.5290, 52.3632)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DC2 #B2C24D
analogous
#4D77C2 #5D4DC2 #974DC2
triadic
#5D4DC2 #C25D4D #4DC25D
tetradic
#5D4DC2 #C24D77 #B2C24D #4DC297
square
#5D4DC2 #C24D77 #B2C24D #4DC297
split-complementary
#5D4DC2 #C2974D #77C24D
monochromatic
#30266F #44369C #5D4DC2 #867BD2 #B0A8E1

Accessibility & contrast

On white

6.35
#5D4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5D4DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DC2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DC2#FFFFFF#000000##FFFFFF
##5D4DC21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#356980
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d4dc2;
/* rgb */ color: rgb(93, 77, 194);
/* oklch */ color: oklch(50.2% 0.176 284.4);
Tailwind
colors: {
  custom: {
    50: '#937fd5',
    500: '#5d4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #5d4dc2;
$custom-light: #937fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4dc2",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 248.205,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50245,
    "c": 0.17554,
    "h": 284.4
  },
  "luminance": 0.1153
}

Semantic roles & 50–950 ramp

primary
#5D4DC2
secondary
#C8CF9C
accent
#D94FC6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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