#5D4DAE#5D4DAE

#5D4DAE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.149 H 287.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5D4DAE
RGBrgb(93, 77, 174)
HSLhsl(250, 39%, 49%)
HSVhsv(250, 56%, 68%)
CMYKcmyk(46.6%, 55.7%, 0%, 31.8%)
CIE-LABlab(39.05, 31.73, -49.88)
CIE-LCHlch(39.05, 59.11, 302.46°)
OKLaboklab(48.76% 0.0438 -0.1422)
OKLCHoklch(48.76% 0.149 287.1)
XYZxyz(14.8059, 10.6903, 41.3195)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DAE #9EAE4D
analogous
#4D6EAE #5D4DAE #8E4DAE
triadic
#5D4DAE #AE5D4D #4DAE5D
tetradic
#5D4DAE #AE4D6E #9EAE4D #4DAE8E
square
#5D4DAE #AE4D6E #9EAE4D #4DAE8E
split-complementary
#5D4DAE #AE8E4D #6EAE4D
monochromatic
#302759 #463A84 #5D4DAE #8276C2 #A9A0D5

Accessibility & contrast

On white

6.69
#5D4DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5D4DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DAE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DAE#FFFFFF#000000##FFFFFF
##5D4DAE1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB1
Deuteranopia (green-blind)
#1559AC
Tritanopia (blue-blind)
#436276
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d4dae;
/* rgb */ color: rgb(93, 77, 174);
/* oklch */ color: oklch(48.8% 0.149 287.1);
Tailwind
colors: {
  custom: {
    50: '#907fc7',
    500: '#5d4dae',
    950: '#000000',
  },
}
SCSS
$custom: #5d4dae;
$custom-light: #907fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4dae",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 249.897,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.14877,
    "h": 287.1
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#5D4DAE
secondary
#BBC295
accent
#CF59BB
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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