#5C4EAE#5C4EAE

#5C4EAE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.147 H 286.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5C4EAE
RGBrgb(92, 78, 174)
HSLhsl(249, 38%, 49%)
HSVhsv(249, 55%, 68%)
CMYKcmyk(47.1%, 55.2%, 0%, 31.8%)
CIE-LABlab(39.21, 30.89, -49.64)
CIE-LCHlch(39.21, 58.46, 301.89°)
OKLaboklab(48.86% 0.0413 -0.1415)
OKLCHoklch(48.86% 0.147 286.3)
XYZxyz(14.7758, 10.7794, 41.3383)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EAE #A0AE4E
analogous
#4E70AE #5C4EAE #8C4EAE
triadic
#5C4EAE #AE5C4E #4EAE5C
tetradic
#5C4EAE #AE4E70 #A0AE4E #4EAE8C
square
#5C4EAE #AE4E70 #A0AE4E #4EAE8C
split-complementary
#5C4EAE #AE8C4E #70AE4E
monochromatic
#2F2859 #463B84 #5C4EAE #8277C2 #A9A1D5

Accessibility & contrast

On white

6.65
#5C4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5C4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EAE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EAE#FFFFFF#000000##FFFFFF
##5C4EAE1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB1
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#416376
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c4eae;
/* rgb */ color: rgb(92, 78, 174);
/* oklch */ color: oklch(48.9% 0.147 286.3);
Tailwind
colors: {
  custom: {
    50: '#9080c7',
    500: '#5c4eae',
    950: '#000000',
  },
}
SCSS
$custom: #5c4eae;
$custom-light: #9080c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4eae",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 248.75,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48856,
    "c": 0.1474,
    "h": 286.3
  },
  "luminance": 0.1078
}

Semantic roles & 50–950 ramp

primary
#5C4EAE
secondary
#BCC296
accent
#CE5ABD
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5C4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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