#5D4EAA#5D4EAA

#5D4EAA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.142 H 287.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5D4EAA
RGBrgb(93, 78, 170)
HSLhsl(250, 37%, 49%)
HSVhsv(250, 54%, 67%)
CMYKcmyk(45.3%, 54.1%, 0%, 33.3%)
CIE-LABlab(39.03, 29.91, -47.54)
CIE-LCHlch(39.03, 56.17, 302.18°)
OKLaboklab(48.66% 0.0424 -0.1353)
OKLCHoklch(48.66% 0.142 287.4)
XYZxyz(14.4922, 10.6776, 39.3198)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EAA #9BAA4E
analogous
#4E6DAA #5D4EAA #8B4EAA
triadic
#5D4EAA #AA5D4E #4EAA5D
tetradic
#5D4EAA #AA4E6D #9BAA4E #4EAA8B
square
#5D4EAA #AA4E6D #9BAA4E #4EAA8B
split-complementary
#5D4EAA #AA8B4E #6DAA4E
monochromatic
#2F2856 #463B80 #5D4EAA #8175C0 #A89FD3

Accessibility & contrast

On white

6.70
#5D4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D4EAA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EAA#FFFFFF#000000##FFFFFF
##5D4EAA1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#2059A8
Tritanopia (blue-blind)
#456274
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d4eaa;
/* rgb */ color: rgb(93, 78, 170);
/* oklch */ color: oklch(48.7% 0.142 287.4);
Tailwind
colors: {
  custom: {
    50: '#9080c4',
    500: '#5d4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #5d4eaa;
$custom-light: #9080c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4eaa",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 249.783,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48664,
    "c": 0.1418,
    "h": 287.4
  },
  "luminance": 0.10678
}

Semantic roles & 50–950 ramp

primary
#5D4EAA
secondary
#B9C094
accent
#CD5BBA
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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