#5C4CC2#5C4CC2

#5C4CC2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.0% C 0.177 H 284.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5C4CC2
RGBrgb(92, 76, 194)
HSLhsl(248, 49%, 53%)
HSVhsv(248, 61%, 76%)
CMYKcmyk(52.6%, 60.8%, 0%, 23.9%)
CIE-LABlab(40.14, 38.23, -59.87)
CIE-LCHlch(40.14, 71.03, 302.56°)
OKLaboklab(50% 0.0433 -0.1716)
OKLCHoklch(50% 0.177 284.1)
XYZxyz(16.7327, 11.3383, 52.3353)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CC2 #B2C24C
analogous
#4C77C2 #5C4CC2 #974CC2
triadic
#5C4CC2 #C25C4C #4CC25C
tetradic
#5C4CC2 #C24C77 #B2C24C #4CC297
square
#5C4CC2 #C24C77 #B2C24C #4CC297
split-complementary
#5C4CC2 #C2974C #77C24C
monochromatic
#2F266E #43359C #5C4CC2 #867AD2 #AFA7E1

Accessibility & contrast

On white

6.43
#5C4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5C4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CC2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CC2#FFFFFF#000000##FFFFFF
##5C4CC21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#326880
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c4cc2;
/* rgb */ color: rgb(92, 76, 194);
/* oklch */ color: oklch(50.0% 0.177 284.1);
Tailwind
colors: {
  custom: {
    50: '#937fd5',
    500: '#5c4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #5c4cc2;
$custom-light: #937fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4cc2",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 248.136,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.17697,
    "h": 284.1
  },
  "luminance": 0.11339
}

Semantic roles & 50–950 ramp

primary
#5C4CC2
secondary
#C7CE9B
accent
#D94FC6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5C4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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