#5D4CBF#5D4CBF

#5D4CBF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.8% C 0.173 H 285.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5D4CBF
RGBrgb(93, 76, 191)
HSLhsl(249, 47%, 52%)
HSVhsv(249, 60%, 75%)
CMYKcmyk(51.3%, 60.2%, 0%, 25.1%)
CIE-LABlab(40.01, 37.50, -58.33)
CIE-LCHlch(40.01, 69.34, 302.74°)
OKLaboklab(49.85% 0.0447 -0.167)
OKLCHoklch(49.85% 0.173 285)
XYZxyz(16.4998, 11.2568, 50.5835)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CBF #AEBF4C
analogous
#4C74BF #5D4CBF #974CBF
triadic
#5D4CBF #BF5D4C #4CBF5D
tetradic
#5D4CBF #BF4C74 #AEBF4C #4CBF97
square
#5D4CBF #BF4C74 #AEBF4C #4CBF97
split-complementary
#5D4CBF #BF974C #74BF4C
monochromatic
#30266B #453698 #5D4CBF #8679CF #AFA6DF

Accessibility & contrast

On white

6.46
#5D4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5D4CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CBF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CBF#FFFFFF#000000##FFFFFF
##5D4CBF1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#37677E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d4cbf;
/* rgb */ color: rgb(93, 76, 191);
/* oklch */ color: oklch(49.8% 0.173 285.0);
Tailwind
colors: {
  custom: {
    50: '#937fd3',
    500: '#5d4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cbf;
$custom-light: #937fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cbf",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 248.87,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49847,
    "c": 0.17293,
    "h": 285
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#5D4CBF
secondary
#C5CC9A
accent
#D751C3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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