#5D4EBF#5D4EBF

#5D4EBF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.170 H 284.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5D4EBF
RGBrgb(93, 78, 191)
HSLhsl(248, 47%, 53%)
HSVhsv(248, 59%, 75%)
CMYKcmyk(51.3%, 59.2%, 0%, 25.1%)
CIE-LABlab(40.47, 36.30, -57.58)
CIE-LCHlch(40.47, 68.07, 302.23°)
OKLaboklab(50.19% 0.0426 -0.1648)
OKLCHoklch(50.19% 0.17 284.5)
XYZxyz(16.6397, 11.5367, 50.6301)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EBF #B0BF4E
analogous
#4E77BF #5D4EBF #964EBF
triadic
#5D4EBF #BF5D4E #4EBF5D
tetradic
#5D4EBF #BF4E77 #B0BF4E #4EBF96
square
#5D4EBF #BF4E77 #B0BF4E #4EBF96
split-complementary
#5D4EBF #BF964E #77BF4E
monochromatic
#30276C #443799 #5D4EBF #867BCF #AFA8E0

Accessibility & contrast

On white

6.35
#5D4EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5D4EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EBF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EBF#FFFFFF#000000##FFFFFF
##5D4EBF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#37687F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d4ebf;
/* rgb */ color: rgb(93, 78, 191);
/* oklch */ color: oklch(50.2% 0.170 284.5);
Tailwind
colors: {
  custom: {
    50: '#9380d3',
    500: '#5d4ebf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ebf;
$custom-light: #9380d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ebf",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 247.965,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.17026,
    "h": 284.5
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#5D4EBF
secondary
#C6CD9C
accent
#D751C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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