#5D4DD3#5D4DD3

#5D4DD3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.6% C 0.197 H 282.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5D4DD3
RGBrgb(93, 77, 211)
HSLhsl(247, 60%, 56%)
HSVhsv(247, 64%, 83%)
CMYKcmyk(55.9%, 63.5%, 0%, 17.3%)
CIE-LABlab(41.75, 43.05, -67.09)
CIE-LCHlch(41.75, 79.72, 302.68°)
OKLaboklab(51.59% 0.0424 -0.1928)
OKLCHoklch(51.59% 0.197 282.4)
XYZxyz(18.9223, 12.3369, 62.9995)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DD3 #C3D34D
analogous
#4D80D3 #5D4DD3 #A04DD3
triadic
#5D4DD3 #D35D4D #4DD35D
tetradic
#5D4DD3 #D34D80 #C3D34D #4DD3A0
square
#5D4DD3 #D34D80 #C3D34D #4DD3A0
split-complementary
#5D4DD3 #D3A04D #80D34D
monochromatic
#2D2185 #3D2DB6 #5D4DD3 #8A7EDF #B6AFEB

Accessibility & contrast

On white

6.06
#5D4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5D4DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DD3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DD3#FFFFFF#000000##FFFFFF
##5D4DD31.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#216E89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4dd3;
/* rgb */ color: rgb(93, 77, 211);
/* oklch */ color: oklch(51.6% 0.197 282.4);
Tailwind
colors: {
  custom: {
    50: '#9680e1',
    500: '#5d4dd3',
    950: '#000000',
  },
}
SCSS
$custom: #5d4dd3;
$custom-light: #9680e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4dd3",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 247.164,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.19741,
    "h": 282.4
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#5D4DD3
secondary
#D3D9A2
accent
#E444D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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