#5C4DEC#5C4DEC

#5C4DEC is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.6% C 0.228 H 279.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5C4DEC
RGBrgb(92, 77, 236)
HSLhsl(246, 81%, 61%)
HSVhsv(246, 67%, 93%)
CMYKcmyk(61%, 67.4%, 0%, 7.5%)
CIE-LABlab(43.71, 50.57, -78.13)
CIE-LCHlch(43.71, 93.07, 302.92°)
OKLaboklab(53.62% 0.0382 -0.2252)
OKLCHoklch(53.62% 0.228 279.6)
XYZxyz(22.2030, 13.6375, 80.8029)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4DEC #DDEC4D
analogous
#4D8EEC #5C4DEC #AC4DEC
triadic
#5C4DEC #EC5C4D #4DEC5C
tetradic
#5C4DEC #EC4D8E #DDEC4D #4DECAC
square
#5C4DEC #EC4D8E #DDEC4D #4DECAC
split-complementary
#5C4DEC #ECAC4D #8EEC4D
monochromatic
#2112AC #2B18E4 #5C4DEC #8F84F2 #C1BCF8

Accessibility & contrast

On white

5.63
#5C4DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5C4DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4DEC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4DEC#FFFFFF#000000##FFFFFF
##5C4DEC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#0061E9
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c4dec;
/* rgb */ color: rgb(92, 77, 236);
/* oklch */ color: oklch(53.6% 0.228 279.6);
Tailwind
colors: {
  custom: {
    50: '#9980f3',
    500: '#5c4dec',
    950: '#000000',
  },
}
SCSS
$custom: #5c4dec;
$custom-light: #9980f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4dec",
  "rgb": {
    "r": 92,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 245.66,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53622,
    "c": 0.22842,
    "h": 279.6
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#5C4DEC
secondary
#E3E8AD
accent
#DD08C9
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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