#5C4EE8#5C4EE8

#5C4EE8 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.222 H 279.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5C4EE8
RGBrgb(92, 78, 232)
HSLhsl(245, 77%, 61%)
HSVhsv(245, 66%, 91%)
CMYKcmyk(60.3%, 66.4%, 0%, 9%)
CIE-LABlab(43.58, 48.78, -76.08)
CIE-LCHlch(43.58, 90.38, 302.67°)
OKLaboklab(53.43% 0.038 -0.2192)
OKLCHoklch(53.43% 0.222 279.8)
XYZxyz(21.6989, 13.5487, 77.8000)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EE8 #DAE84E
analogous
#4E8DE8 #5C4EE8 #A94EE8
triadic
#5C4EE8 #E85C4E #4EE85C
tetradic
#5C4EE8 #E84E8D #DAE84E #4EE8A9
square
#5C4EE8 #E84E8D #DAE84E #4EE8A9
split-complementary
#5C4EE8 #E8A94E #8DE84E
monochromatic
#2316A6 #2E1DDC #5C4EE8 #8E84EF #C0BAF6

Accessibility & contrast

On white

5.66
#5C4EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5C4EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EE8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EE8#FFFFFF#000000##FFFFFF
##5C4EE81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#007695
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c4ee8;
/* rgb */ color: rgb(92, 78, 232);
/* oklch */ color: oklch(53.4% 0.222 279.8);
Tailwind
colors: {
  custom: {
    50: '#9881f0',
    500: '#5c4ee8',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ee8;
$custom-light: #9881f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ee8",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 245.455,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53425,
    "c": 0.22247,
    "h": 279.8
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#5C4EE8
secondary
#E1E6AC
accent
#D90CC7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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