#5D4FC3#5D4FC3

#5D4FC3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.7% C 0.174 H 283.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5D4FC3
RGBrgb(93, 79, 195)
HSLhsl(247, 49%, 54%)
HSVhsv(247, 59%, 76%)
CMYKcmyk(52.3%, 59.5%, 0%, 23.5%)
CIE-LABlab(40.99, 36.93, -59.07)
CIE-LCHlch(40.99, 69.67, 302.01°)
OKLaboklab(50.66% 0.0414 -0.1692)
OKLCHoklch(50.66% 0.174 283.7)
XYZxyz(17.1575, 11.8583, 53.0040)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FC3 #B5C34F
analogous
#4F7BC3 #5D4FC3 #974FC3
triadic
#5D4FC3 #C35D4F #4FC35D
tetradic
#5D4FC3 #C34F7B #B5C34F #4FC397
square
#5D4FC3 #C34F7B #B5C34F #4FC397
split-complementary
#5D4FC3 #C3974F #7BC34F
monochromatic
#302771 #43369F #5D4FC3 #877DD3 #B1AAE2

Accessibility & contrast

On white

6.23
#5D4FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5D4FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FC3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FC3#FFFFFF#000000##FFFFFF
##5D4FC31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#346A81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d4fc3;
/* rgb */ color: rgb(93, 79, 195);
/* oklch */ color: oklch(50.7% 0.174 283.7);
Tailwind
colors: {
  custom: {
    50: '#9381d6',
    500: '#5d4fc3',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fc3;
$custom-light: #9381d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fc3",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 247.241,
    "s": 49.153,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.17421,
    "h": 283.7
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#5D4FC3
secondary
#CAD09E
accent
#D94FC8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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