#5D4CBE#5D4CBE

#5D4CBE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.172 H 285.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5D4CBE
RGBrgb(93, 76, 190)
HSLhsl(249, 47%, 52%)
HSVhsv(249, 60%, 75%)
CMYKcmyk(51.1%, 60%, 0%, 25.5%)
CIE-LABlab(39.94, 37.20, -57.86)
CIE-LCHlch(39.94, 68.79, 302.73°)
OKLaboklab(49.77% 0.0447 -0.1657)
OKLCHoklch(49.77% 0.172 285.1)
XYZxyz(16.3901, 11.2129, 50.0059)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CBE #ADBE4C
analogous
#4C74BE #5D4CBE #964CBE
triadic
#5D4CBE #BE5D4C #4CBE5D
tetradic
#5D4CBE #BE4C74 #ADBE4C #4CBE96
square
#5D4CBE #BE4C74 #ADBE4C #4CBE96
split-complementary
#5D4CBE #BE964C #74BE4C
monochromatic
#302669 #453796 #5D4CBE #8679CE #AEA6DF

Accessibility & contrast

On white

6.48
#5D4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5D4CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CBE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CBE#FFFFFF#000000##FFFFFF
##5D4CBE1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#38677E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d4cbe;
/* rgb */ color: rgb(93, 76, 190);
/* oklch */ color: oklch(49.8% 0.172 285.1);
Tailwind
colors: {
  custom: {
    50: '#937fd2',
    500: '#5d4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cbe;
$custom-light: #937fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cbe",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 248.947,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49771,
    "c": 0.17161,
    "h": 285.1
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#5D4CBE
secondary
#C4CC9A
accent
#D651C3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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