#5D4BB9#5D4BB9

#5D4BB9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.2% C 0.166 H 286.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5D4BB9
RGBrgb(93, 75, 185)
HSLhsl(250, 44%, 51%)
HSVhsv(250, 59%, 73%)
CMYKcmyk(49.7%, 59.5%, 0%, 27.5%)
CIE-LABlab(39.35, 36.27, -55.89)
CIE-LCHlch(39.35, 66.63, 302.98°)
OKLaboklab(49.22% 0.046 -0.1599)
OKLCHoklch(49.22% 0.166 286.1)
XYZxyz(15.7847, 10.8613, 47.1543)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BB9 #A7B94B
analogous
#4B70B9 #5D4BB9 #944BB9
triadic
#5D4BB9 #B95D4B #4BB95D
tetradic
#5D4BB9 #B94B70 #A7B94B #4BB994
square
#5D4BB9 #B94B70 #A7B94B #4BB994
split-complementary
#5D4BB9 #B9944B #70B94B
monochromatic
#302763 #46388F #5D4BB9 #8577CA #ACA3DB

Accessibility & contrast

On white

6.62
#5D4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5D4BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BB9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BB9#FFFFFF#000000##FFFFFF
##5D4BB91.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#3C647B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5d4bb9;
/* rgb */ color: rgb(93, 75, 185);
/* oklch */ color: oklch(49.2% 0.166 286.1);
Tailwind
colors: {
  custom: {
    50: '#927ecf',
    500: '#5d4bb9',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bb9;
$custom-light: #927ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bb9",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 249.818,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49223,
    "c": 0.16638,
    "h": 286.1
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#5D4BB9
secondary
#C0C898
accent
#D454BF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5D4BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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