#5D4EAB#5D4EAB

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

Color values

HEX#5D4EAB
RGBrgb(93, 78, 171)
HSLhsl(250, 37%, 49%)
HSVhsv(250, 54%, 67%)
CMYKcmyk(45.6%, 54.4%, 0%, 32.9%)
CIE-LABlab(39.10, 30.21, -48.03)
CIE-LCHlch(39.10, 56.74, 302.17°)
OKLaboklab(48.73% 0.0425 -0.1367)
OKLCHoklch(48.73% 0.143 287.2)
XYZxyz(14.5872, 10.7156, 39.8199)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EAB #9CAB4E
analogous
#4E6EAB #5D4EAB #8C4EAB
triadic
#5D4EAB #AB5D4E #4EAB5D
tetradic
#5D4EAB #AB4E6E #9CAB4E #4EAB8C
square
#5D4EAB #AB4E6E #9CAB4E #4EAB8C
split-complementary
#5D4EAB #AB8C4E #6EAB4E
monochromatic
#2F2857 #463B81 #5D4EAB #8276C0 #A8A0D4

Accessibility & contrast

On white

6.68
#5D4EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D4EAB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EAB#FFFFFF#000000##FFFFFF
##5D4EAB1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAE
Deuteranopia (green-blind)
#1E5AA9
Tritanopia (blue-blind)
#456275
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d4eab;
/* rgb */ color: rgb(93, 78, 171);
/* oklch */ color: oklch(48.7% 0.143 287.2);
Tailwind
colors: {
  custom: {
    50: '#9080c5',
    500: '#5d4eab',
    950: '#000000',
  },
}
SCSS
$custom: #5d4eab;
$custom-light: #9080c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4eab",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 249.677,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48733,
    "c": 0.14319,
    "h": 287.2
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#5D4EAB
secondary
#B9C194
accent
#CD5ABB
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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