#5D4EBE#5D4EBE

#5D4EBE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.169 H 284.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5D4EBE
RGBrgb(93, 78, 190)
HSLhsl(248, 46%, 53%)
HSVhsv(248, 59%, 75%)
CMYKcmyk(51.1%, 58.9%, 0%, 25.5%)
CIE-LABlab(40.40, 36.00, -57.12)
CIE-LCHlch(40.40, 67.51, 302.22°)
OKLaboklab(50.11% 0.0426 -0.1635)
OKLCHoklch(50.11% 0.169 284.6)
XYZxyz(16.5301, 11.4928, 50.0525)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EBE #AFBE4E
analogous
#4E77BE #5D4EBE #954EBE
triadic
#5D4EBE #BE5D4E #4EBE5D
tetradic
#5D4EBE #BE4E77 #AFBE4E #4EBE95
square
#5D4EBE #BE4E77 #AFBE4E #4EBE95
split-complementary
#5D4EBE #BE954E #77BE4E
monochromatic
#30276A #443897 #5D4EBE #867BCE #AFA8DF

Accessibility & contrast

On white

6.37
#5D4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5D4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EBE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EBE#FFFFFF#000000##FFFFFF
##5D4EBE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#38687E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d4ebe;
/* rgb */ color: rgb(93, 78, 190);
/* oklch */ color: oklch(50.1% 0.169 284.6);
Tailwind
colors: {
  custom: {
    50: '#9280d2',
    500: '#5d4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ebe;
$custom-light: #9280d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ebe",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 248.036,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5011,
    "c": 0.16893,
    "h": 284.6
  },
  "luminance": 0.11494
}

Semantic roles & 50–950 ramp

primary
#5D4EBE
secondary
#C6CC9C
accent
#D652C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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