#5C4ABE#5C4ABE

#5C4ABE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.174 H 285.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5C4ABE
RGBrgb(92, 74, 190)
HSLhsl(249, 47%, 52%)
HSVhsv(249, 61%, 75%)
CMYKcmyk(51.6%, 61.1%, 0%, 25.5%)
CIE-LABlab(39.39, 38.19, -58.75)
CIE-LCHlch(39.39, 70.07, 303.03°)
OKLaboklab(49.35% 0.0455 -0.1683)
OKLCHoklch(49.35% 0.174 285.1)
XYZxyz(16.1539, 10.8897, 49.9560)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4ABE #ACBE4A
analogous
#4A72BE #5C4ABE #964ABE
triadic
#5C4ABE #BE5C4A #4ABE5C
tetradic
#5C4ABE #BE4A72 #ACBE4A #4ABE96
square
#5C4ABE #BE4A72 #ACBE4A #4ABE96
split-complementary
#5C4ABE #BE964A #72BE4A
monochromatic
#302568 #443695 #5C4ABE #8577CE #ADA4DE

Accessibility & contrast

On white

6.61
#5C4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5C4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4ABE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4ABE#FFFFFF#000000##FFFFFF
##5C4ABE1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#36657D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c4abe;
/* rgb */ color: rgb(92, 74, 190);
/* oklch */ color: oklch(49.4% 0.174 285.1);
Tailwind
colors: {
  custom: {
    50: '#927dd2',
    500: '#5c4abe',
    950: '#000000',
  },
}
SCSS
$custom: #5c4abe;
$custom-light: #927dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4abe",
  "rgb": {
    "r": 92,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 249.31,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49352,
    "c": 0.17437,
    "h": 285.1
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#5C4ABE
secondary
#C3CB98
accent
#D751C2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5C4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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