#5C4FCC#5C4FCC

#5C4FCC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.3% C 0.186 H 282.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5C4FCC
RGBrgb(92, 79, 204)
HSLhsl(246, 55%, 55%)
HSVhsv(246, 61%, 80%)
CMYKcmyk(54.9%, 61.3%, 0%, 20%)
CIE-LABlab(41.57, 39.53, -63.35)
CIE-LCHlch(41.57, 74.67, 301.97°)
OKLaboklab(51.28% 0.0397 -0.1818)
OKLCHoklch(51.28% 0.186 282.3)
XYZxyz(18.1053, 12.2258, 58.5208)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FCC #BFCC4F
analogous
#4F80CC #5C4FCC #9A4FCC
triadic
#5C4FCC #CC5C4F #4FCC5C
tetradic
#5C4FCC #CC4F80 #BFCC4F #4FCC9A
square
#5C4FCC #CC4F80 #BFCC4F #4FCC9A
split-complementary
#5C4FCC #CC9A4F #80CC4F
monochromatic
#2D247D #3F32AC #5C4FCC #887EDA #B4AEE7

Accessibility & contrast

On white

6.10
#5C4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5C4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FCC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FCC#FFFFFF#000000##FFFFFF
##5C4FCC1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#276D86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c4fcc;
/* rgb */ color: rgb(92, 79, 204);
/* oklch */ color: oklch(51.3% 0.186 282.3);
Tailwind
colors: {
  custom: {
    50: '#9481dc',
    500: '#5c4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fcc;
$custom-light: #9481dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fcc",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 246.24,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.18611,
    "h": 282.3
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#5C4FCC
secondary
#D0D5A1
accent
#DE49CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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