#5C4EEC#5C4EEC

#5C4EEC is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.8% C 0.227 H 279.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5C4EEC
RGBrgb(92, 78, 236)
HSLhsl(245, 81%, 62%)
HSVhsv(245, 67%, 93%)
CMYKcmyk(61%, 66.9%, 0%, 7.5%)
CIE-LABlab(43.91, 50.01, -77.79)
CIE-LCHlch(43.91, 92.48, 302.74°)
OKLaboklab(53.77% 0.0374 -0.2242)
OKLCHoklch(53.77% 0.227 279.5)
XYZxyz(22.2735, 13.7785, 80.8264)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EEC #DEEC4E
analogous
#4E8FEC #5C4EEC #AB4EEC
triadic
#5C4EEC #EC5C4E #4EEC5C
tetradic
#5C4EEC #EC4E8F #DEEC4E #4EECAB
square
#5C4EEC #EC4E8F #DEEC4E #4EECAB
split-complementary
#5C4EEC #ECAB4E #8FEC4E
monochromatic
#2013AD #2B19E4 #5C4EEC #8F85F2 #C2BDF8

Accessibility & contrast

On white

5.59
#5C4EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5C4EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EEC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EEC#FFFFFF#000000##FFFFFF
##5C4EEC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF1
Deuteranopia (green-blind)
#0062E9
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c4eec;
/* rgb */ color: rgb(92, 78, 236);
/* oklch */ color: oklch(53.8% 0.227 279.5);
Tailwind
colors: {
  custom: {
    50: '#9981f3',
    500: '#5c4eec',
    950: '#000000',
  },
}
SCSS
$custom: #5c4eec;
$custom-light: #9981f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4eec",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 245.316,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.22733,
    "h": 279.5
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#5C4EEC
secondary
#E3E8AE
accent
#DD09CA
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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