#5C4CE5#5C4CE5

#5C4CE5 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.9% C 0.221 H 280.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5C4CE5
RGBrgb(92, 76, 229)
HSLhsl(246, 75%, 60%)
HSVhsv(246, 67%, 90%)
CMYKcmyk(59.8%, 66.8%, 0%, 10.2%)
CIE-LABlab(42.91, 48.99, -75.47)
CIE-LCHlch(42.91, 89.97, 302.99°)
OKLaboklab(52.87% 0.0399 -0.2174)
OKLCHoklch(52.87% 0.221 280.4)
XYZxyz(21.1365, 13.0998, 75.5283)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CE5 #D5E54C
analogous
#4C88E5 #5C4CE5 #A94CE5
triadic
#5C4CE5 #E55C4C #4CE55C
tetradic
#5C4CE5 #E54C88 #D5E54C #4CE5A9
square
#5C4CE5 #E54C88 #D5E54C #4CE5A9
split-complementary
#5C4CE5 #E5A94C #88E54C
monochromatic
#25179F #321FD5 #5C4CE5 #8D81ED #BDB7F5

Accessibility & contrast

On white

5.80
#5C4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5C4CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CE5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CE5#FFFFFF#000000##FFFFFF
##5C4CE51.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c4ce5;
/* rgb */ color: rgb(92, 76, 229);
/* oklch */ color: oklch(52.9% 0.221 280.4);
Tailwind
colors: {
  custom: {
    50: '#987fee',
    500: '#5c4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ce5;
$custom-light: #987fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ce5",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 246.275,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.22105,
    "h": 280.4
  },
  "luminance": 0.13101
}

Semantic roles & 50–950 ramp

primary
#5C4CE5
secondary
#DEE4A9
accent
#F137DE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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