#5C4CD2#5C4CD2

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

Color values

HEX#5C4CD2
RGBrgb(92, 76, 210)
HSLhsl(247, 60%, 56%)
HSVhsv(247, 64%, 82%)
CMYKcmyk(56.2%, 63.8%, 0%, 17.6%)
CIE-LABlab(41.37, 43.15, -67.14)
CIE-LCHlch(41.37, 79.81, 302.73°)
OKLaboklab(51.27% 0.0421 -0.193)
OKLCHoklch(51.27% 0.198 282.3)
XYZxyz(18.6273, 12.0962, 62.3135)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CD2 #C2D24C
analogous
#4C7FD2 #5C4CD2 #9F4CD2
triadic
#5C4CD2 #D25C4C #4CD25C
tetradic
#5C4CD2 #D24C7F #C2D24C #4CD29F
square
#5C4CD2 #D24C7F #C2D24C #4CD29F
split-complementary
#5C4CD2 #D29F4C #7FD24C
monochromatic
#2D2183 #3D2DB4 #5C4CD2 #897DDE #B5AEEB

Accessibility & contrast

On white

6.14
#5C4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5C4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CD2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CD2#FFFFFF#000000##FFFFFF
##5C4CD21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#1F6D88
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c4cd2;
/* rgb */ color: rgb(92, 76, 210);
/* oklch */ color: oklch(51.3% 0.198 282.3);
Tailwind
colors: {
  custom: {
    50: '#957fe1',
    500: '#5c4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #5c4cd2;
$custom-light: #957fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4cd2",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 247.164,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.19752,
    "h": 282.3
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

primary
#5C4CD2
secondary
#D2D9A1
accent
#E345D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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