#5C4CD5#5C4CD5

#5C4CD5 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.5% C 0.201 H 282.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5C4CD5
RGBrgb(92, 76, 213)
HSLhsl(247, 62%, 57%)
HSVhsv(247, 64%, 84%)
CMYKcmyk(56.8%, 64.3%, 0%, 16.5%)
CIE-LABlab(41.61, 44.07, -68.47)
CIE-LCHlch(41.61, 81.43, 302.77°)
OKLaboklab(51.52% 0.0418 -0.1969)
OKLCHoklch(51.52% 0.201 282)
XYZxyz(19.0046, 12.2471, 64.3004)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CD5 #C5D54C
analogous
#4C81D5 #5C4CD5 #A14CD5
triadic
#5C4CD5 #D55C4C #4CD55C
tetradic
#5C4CD5 #D54C81 #C5D54C #4CD5A1
square
#5C4CD5 #D54C81 #C5D54C #4CD5A1
split-complementary
#5C4CD5 #D5A14C #81D54C
monochromatic
#2C2087 #3C2BB9 #5C4CD5 #897EE1 #B6AFEC

Accessibility & contrast

On white

6.09
#5C4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C4CD5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CD5#FFFFFF#000000##FFFFFF
##5C4CD51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#196E8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c4cd5;
/* rgb */ color: rgb(92, 76, 213);
/* oklch */ color: oklch(51.5% 0.201 282.0);
Tailwind
colors: {
  custom: {
    50: '#957fe3',
    500: '#5c4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #5c4cd5;
$custom-light: #957fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4cd5",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 247.007,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.20129,
    "h": 282
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#5C4CD5
secondary
#D4DAA2
accent
#E543D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5C4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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