#5C4FDC#5C4FDC

#5C4FDC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.206 H 280.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5C4FDC
RGBrgb(92, 79, 220)
HSLhsl(246, 67%, 59%)
HSVhsv(246, 64%, 86%)
CMYKcmyk(58.2%, 64.1%, 0%, 13.7%)
CIE-LABlab(42.81, 44.50, -70.51)
CIE-LCHlch(42.81, 83.38, 302.26°)
OKLaboklab(52.57% 0.0385 -0.2029)
OKLCHoklch(52.57% 0.207 280.7)
XYZxyz(20.1238, 13.0332, 69.1515)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FDC #CFDC4F
analogous
#4F88DC #5C4FDC #A24FDC
triadic
#5C4FDC #DC5C4F #4FDC5C
tetradic
#5C4FDC #DC4F88 #CFDC4F #4FDCA2
square
#5C4FDC #DC4F88 #CFDC4F #4FDCA2
split-complementary
#5C4FDC #DCA24F #88DC4F
monochromatic
#281D93 #3627C6 #5C4FDC #8B82E6 #BBB5F0

Accessibility & contrast

On white

5.82
#5C4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5C4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FDC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FDC#FFFFFF#000000##FFFFFF
##5C4FDC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#01738E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c4fdc;
/* rgb */ color: rgb(92, 79, 220);
/* oklch */ color: oklch(52.6% 0.206 280.7);
Tailwind
colors: {
  custom: {
    50: '#9681e8',
    500: '#5c4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fdc;
$custom-light: #9681e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fdc",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 245.532,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52568,
    "c": 0.2065,
    "h": 280.7
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#5C4FDC
secondary
#DADFA8
accent
#EA3EDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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