#5C4DE2#5C4DE2

#5C4DE2 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.8% C 0.216 H 280.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5C4DE2
RGBrgb(92, 77, 226)
HSLhsl(246, 72%, 59%)
HSVhsv(246, 66%, 89%)
CMYKcmyk(59.3%, 65.9%, 0%, 11.4%)
CIE-LABlab(42.87, 47.50, -73.83)
CIE-LCHlch(42.87, 87.79, 302.76°)
OKLaboklab(52.76% 0.0395 -0.2126)
OKLCHoklch(52.76% 0.216 280.5)
XYZxyz(20.7907, 13.0726, 73.3644)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4DE2 #D3E24D
analogous
#4D89E2 #5C4DE2 #A64DE2
triadic
#5C4DE2 #E25C4D #4DE25C
tetradic
#5C4DE2 #E24D89 #D3E24D #4DE2A6
square
#5C4DE2 #E24D89 #D3E24D #4DE2A6
split-complementary
#5C4DE2 #E2A64D #89E24D
monochromatic
#26199B #3322D0 #5C4DE2 #8C82EB #BCB6F3

Accessibility & contrast

On white

5.81
#5C4DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5C4DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4DE2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4DE2#FFFFFF#000000##FFFFFF
##5C4DE21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c4de2;
/* rgb */ color: rgb(92, 77, 226);
/* oklch */ color: oklch(52.8% 0.216 280.5);
Tailwind
colors: {
  custom: {
    50: '#9780ec',
    500: '#5c4de2',
    950: '#000000',
  },
}
SCSS
$custom: #5c4de2;
$custom-light: #9780ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4de2",
  "rgb": {
    "r": 92,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 246.04,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52761,
    "c": 0.21626,
    "h": 280.5
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#5C4DE2
secondary
#DDE2A8
accent
#EF39DC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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