#5C4CC7#5C4CC7

#5C4CC7 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.4% C 0.183 H 283.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5C4CC7
RGBrgb(92, 76, 199)
HSLhsl(248, 52%, 54%)
HSVhsv(248, 62%, 78%)
CMYKcmyk(53.8%, 61.8%, 0%, 22%)
CIE-LABlab(40.52, 39.76, -62.16)
CIE-LCHlch(40.52, 73.79, 302.61°)
OKLaboklab(50.39% 0.043 -0.1784)
OKLCHoklch(50.39% 0.183 283.5)
XYZxyz(17.3037, 11.5667, 55.3426)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CC7 #B7C74C
analogous
#4C7AC7 #5C4CC7 #9A4CC7
triadic
#5C4CC7 #C75C4C #4CC75C
tetradic
#5C4CC7 #C74C7A #B7C74C #4CC79A
square
#5C4CC7 #C74C7A #B7C74C #4CC79A
split-complementary
#5C4CC7 #C79A4C #7AC74C
monochromatic
#2F2474 #4233A3 #5C4CC7 #867BD6 #B1A9E4

Accessibility & contrast

On white

6.34
#5C4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5C4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CC7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CC7#FFFFFF#000000##FFFFFF
##5C4CC71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#2D6A82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c4cc7;
/* rgb */ color: rgb(92, 76, 199);
/* oklch */ color: oklch(50.4% 0.183 283.5);
Tailwind
colors: {
  custom: {
    50: '#937fd9',
    500: '#5c4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #5c4cc7;
$custom-light: #937fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4cc7",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 247.805,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.18346,
    "h": 283.5
  },
  "luminance": 0.11568
}

Semantic roles & 50–950 ramp

primary
#5C4CC7
secondary
#CBD29D
accent
#DC4CC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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