#5D4EAC#5D4EAC

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

Color values

HEX#5D4EAC
RGBrgb(93, 78, 172)
HSLhsl(250, 38%, 49%)
HSVhsv(250, 55%, 67%)
CMYKcmyk(45.9%, 54.7%, 0%, 32.5%)
CIE-LABlab(39.16, 30.51, -48.52)
CIE-LCHlch(39.16, 57.31, 302.17°)
OKLaboklab(48.8% 0.0425 -0.1382)
OKLCHoklch(48.8% 0.145 287.1)
XYZxyz(14.6828, 10.7539, 40.3238)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EAC #9DAC4E
analogous
#4E6EAC #5D4EAC #8C4EAC
triadic
#5D4EAC #AC5D4E #4EAC5D
tetradic
#5D4EAC #AC4E6E #9DAC4E #4EAC8C
square
#5D4EAC #AC4E6E #9DAC4E #4EAC8C
split-complementary
#5D4EAC #AC8C4E #6EAC4E
monochromatic
#2F2858 #463B82 #5D4EAC #8276C1 #A9A0D4

Accessibility & contrast

On white

6.66
#5D4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5D4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EAC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EAC#FFFFFF#000000##FFFFFF
##5D4EAC1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FAF
Deuteranopia (green-blind)
#1C5AAA
Tritanopia (blue-blind)
#446275
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d4eac;
/* rgb */ color: rgb(93, 78, 172);
/* oklch */ color: oklch(48.8% 0.145 287.1);
Tailwind
colors: {
  custom: {
    50: '#9080c5',
    500: '#5d4eac',
    950: '#000000',
  },
}
SCSS
$custom: #5d4eac;
$custom-light: #9080c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4eac",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 249.574,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48803,
    "c": 0.14457,
    "h": 287.1
  },
  "luminance": 0.10754
}

Semantic roles & 50–950 ramp

primary
#5D4EAC
secondary
#BAC195
accent
#CE5ABB
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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