#5C4AE0#5C4AE0

#5C4AE0 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.217 H 281.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5C4AE0
RGBrgb(92, 74, 224)
HSLhsl(247, 71%, 58%)
HSVhsv(247, 67%, 88%)
CMYKcmyk(58.9%, 67%, 0%, 12.2%)
CIE-LABlab(42.08, 48.58, -73.99)
CIE-LCHlch(42.08, 88.51, 303.29°)
OKLaboklab(52.14% 0.0422 -0.2131)
OKLCHoklch(52.14% 0.217 281.2)
XYZxyz(20.3127, 12.5533, 71.8592)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4AE0 #CEE04A
analogous
#4A83E0 #5C4AE0 #A74AE0
triadic
#5C4AE0 #E05C4A #4AE05C
tetradic
#5C4AE0 #E04A83 #CEE04A #4AE0A7
square
#5C4AE0 #E04A83 #CEE04A #4AE0A7
split-complementary
#5C4AE0 #E0A74A #83E04A
monochromatic
#291A96 #3723CA #5C4AE0 #8B7EE9 #BAB3F2

Accessibility & contrast

On white

5.98
#5C4AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5C4AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4AE0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4AE0#FFFFFF#000000##FFFFFF
##5C4AE01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c4ae0;
/* rgb */ color: rgb(92, 74, 224);
/* oklch */ color: oklch(52.1% 0.217 281.2);
Tailwind
colors: {
  custom: {
    50: '#977eeb',
    500: '#5c4ae0',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ae0;
$custom-light: #977eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ae0",
  "rgb": {
    "r": 92,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 247.2,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5214,
    "c": 0.21721,
    "h": 281.2
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#5C4AE0
secondary
#DAE1A5
accent
#EE3AD8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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