#5C4EAA#5C4EAA

#5C4EAA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.142 H 286.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5C4EAA
RGBrgb(92, 78, 170)
HSLhsl(249, 37%, 49%)
HSVhsv(249, 54%, 67%)
CMYKcmyk(45.9%, 54.1%, 0%, 33.3%)
CIE-LABlab(38.94, 29.67, -47.69)
CIE-LCHlch(38.94, 56.17, 301.89°)
OKLaboklab(48.58% 0.0411 -0.1358)
OKLCHoklch(48.58% 0.142 286.9)
XYZxyz(14.3916, 10.6258, 39.3151)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EAA #9CAA4E
analogous
#4E6EAA #5C4EAA #8A4EAA
triadic
#5C4EAA #AA5C4E #4EAA5C
tetradic
#5C4EAA #AA4E6E #9CAA4E #4EAA8A
square
#5C4EAA #AA4E6E #9CAA4E #4EAA8A
split-complementary
#5C4EAA #AA8A4E #6EAA4E
monochromatic
#2F2856 #453B80 #5C4EAA #8175C0 #A79FD3

Accessibility & contrast

On white

6.72
#5C4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5C4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EAA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EAA#FFFFFF#000000##FFFFFF
##5C4EAA1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#1E59A8
Tritanopia (blue-blind)
#436274
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c4eaa;
/* rgb */ color: rgb(92, 78, 170);
/* oklch */ color: oklch(48.6% 0.142 286.9);
Tailwind
colors: {
  custom: {
    50: '#8f80c4',
    500: '#5c4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #5c4eaa;
$custom-light: #8f80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4eaa",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 249.13,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48575,
    "c": 0.14187,
    "h": 286.9
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#5C4EAA
secondary
#B9C094
accent
#CD5BBC
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5C4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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