#5C4FCA#5C4FCA

#5C4FCA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.184 H 282.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5C4FCA
RGBrgb(92, 79, 202)
HSLhsl(246, 54%, 55%)
HSVhsv(246, 61%, 79%)
CMYKcmyk(54.5%, 60.9%, 0%, 20.8%)
CIE-LABlab(41.42, 38.91, -62.43)
CIE-LCHlch(41.42, 73.57, 301.93°)
OKLaboklab(51.12% 0.0398 -0.1791)
OKLCHoklch(51.12% 0.184 282.5)
XYZxyz(17.8670, 12.1305, 57.2656)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FCA #BDCA4F
analogous
#4F80CA #5C4FCA #994FCA
triadic
#5C4FCA #CA5C4F #4FCA5C
tetradic
#5C4FCA #CA4F80 #BDCA4F #4FCA99
square
#5C4FCA #CA4F80 #BDCA4F #4FCA99
split-complementary
#5C4FCA #CA994F #80CA4F
monochromatic
#2E257A #3F33A9 #5C4FCA #887ED8 #B3ADE6

Accessibility & contrast

On white

6.13
#5C4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5C4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FCA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FCA#FFFFFF#000000##FFFFFF
##5C4FCA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#2A6D85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c4fca;
/* rgb */ color: rgb(92, 79, 202);
/* oklch */ color: oklch(51.1% 0.184 282.5);
Tailwind
colors: {
  custom: {
    50: '#9481db',
    500: '#5c4fca',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fca;
$custom-light: #9481db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fca",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 246.341,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.18351,
    "h": 282.5
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#5C4FCA
secondary
#CFD4A1
accent
#DD4BCE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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