#5C4EDA#5C4EDA

#5C4EDA is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.2% C 0.205 H 281.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5C4EDA
RGBrgb(92, 78, 218)
HSLhsl(246, 65%, 58%)
HSVhsv(246, 64%, 85%)
CMYKcmyk(57.8%, 64.2%, 0%, 14.5%)
CIE-LABlab(42.44, 44.46, -69.98)
CIE-LCHlch(42.44, 82.91, 302.43°)
OKLaboklab(52.25% 0.0395 -0.2013)
OKLCHoklch(52.25% 0.205 281.1)
XYZxyz(19.7890, 12.7847, 67.7410)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EDA #CCDA4E
analogous
#4E86DA #5C4EDA #A24EDA
triadic
#5C4EDA #DA5C4E #4EDA5C
tetradic
#5C4EDA #DA4E86 #CCDA4E #4EDAA2
square
#5C4EDA #DA4E86 #CCDA4E #4EDAA2
split-complementary
#5C4EDA #DAA24E #86DA4E
monochromatic
#291E90 #3829C2 #5C4EDA #8B81E5 #B9B3EF

Accessibility & contrast

On white

5.90
#5C4EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5C4EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EDA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EDA#FFFFFF#000000##FFFFFF
##5C4EDA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#0A718D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c4eda;
/* rgb */ color: rgb(92, 78, 218);
/* oklch */ color: oklch(52.2% 0.205 281.1);
Tailwind
colors: {
  custom: {
    50: '#9680e6',
    500: '#5c4eda',
    950: '#000000',
  },
}
SCSS
$custom: #5c4eda;
$custom-light: #9680e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4eda",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 246,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52245,
    "c": 0.20517,
    "h": 281.1
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#5C4EDA
secondary
#D8DEA6
accent
#E83FD7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C4EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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