#5C4EE1#5C4EE1

#5C4EE1 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.8% C 0.214 H 280.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5C4EE1
RGBrgb(92, 78, 225)
HSLhsl(246, 71%, 59%)
HSVhsv(246, 65%, 88%)
CMYKcmyk(59.1%, 65.3%, 0%, 11.8%)
CIE-LABlab(43.00, 46.63, -73.05)
CIE-LCHlch(43.00, 86.66, 302.55°)
OKLaboklab(52.83% 0.0388 -0.2103)
OKLCHoklch(52.83% 0.214 280.4)
XYZxyz(20.7243, 13.1589, 72.6674)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EE1 #D3E14E
analogous
#4E8AE1 #5C4EE1 #A54EE1
triadic
#5C4EE1 #E15C4E #4EE15C
tetradic
#5C4EE1 #E14E8A #D3E14E #4EE1A5
square
#5C4EE1 #E14E8A #D3E14E #4EE1A5
split-complementary
#5C4EE1 #E1A54E #8AE14E
monochromatic
#261A9A #3323CF #5C4EE1 #8C82EA #BCB7F3

Accessibility & contrast

On white

5.78
#5C4EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5C4EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EE1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EE1#FFFFFF#000000##FFFFFF
##5C4EE11.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c4ee1;
/* rgb */ color: rgb(92, 78, 225);
/* oklch */ color: oklch(52.8% 0.214 280.4);
Tailwind
colors: {
  custom: {
    50: '#9781eb',
    500: '#5c4ee1',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ee1;
$custom-light: #9781eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ee1",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 245.714,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5283,
    "c": 0.21388,
    "h": 280.4
  },
  "luminance": 0.1316
}

Semantic roles & 50–950 ramp

primary
#5C4EE1
secondary
#DDE2A9
accent
#EE3ADD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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