#5C4AE1#5C4AE1

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

Color values

HEX#5C4AE1
RGBrgb(92, 74, 225)
HSLhsl(247, 72%, 59%)
HSVhsv(247, 67%, 88%)
CMYKcmyk(59.1%, 67.1%, 0%, 11.8%)
CIE-LABlab(42.17, 48.89, -74.42)
CIE-LCHlch(42.17, 89.04, 303.30°)
OKLaboklab(52.23% 0.042 -0.2143)
OKLCHoklch(52.23% 0.218 281.1)
XYZxyz(20.4488, 12.6077, 72.5755)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4AE1 #CFE14A
analogous
#4A83E1 #5C4AE1 #A74AE1
triadic
#5C4AE1 #E15C4A #4AE15C
tetradic
#5C4AE1 #E14A83 #CFE14A #4AE1A7
square
#5C4AE1 #E14A83 #CFE14A #4AE1A7
split-complementary
#5C4AE1 #E1A74A #83E14A
monochromatic
#281997 #3622CC #5C4AE1 #8B7EEA #BBB3F2

Accessibility & contrast

On white

5.96
#5C4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5C4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4AE1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4AE1#FFFFFF#000000##FFFFFF
##5C4AE11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c4ae1;
/* rgb */ color: rgb(92, 74, 225);
/* oklch */ color: oklch(52.2% 0.218 281.1);
Tailwind
colors: {
  custom: {
    50: '#987eec',
    500: '#5c4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ae1;
$custom-light: #987eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ae1",
  "rgb": {
    "r": 92,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 247.152,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.21843,
    "h": 281.1
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#5C4AE1
secondary
#DAE1A6
accent
#EE39D9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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