#5C4CB2#5C4CB2

#5C4CB2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.156 H 286.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5C4CB2
RGBrgb(92, 76, 178)
HSLhsl(249, 40%, 50%)
HSVhsv(249, 57%, 70%)
CMYKcmyk(48.3%, 57.3%, 0%, 30.2%)
CIE-LABlab(39.00, 33.33, -52.34)
CIE-LCHlch(39.00, 62.05, 302.49°)
OKLaboklab(48.79% 0.0437 -0.1495)
OKLCHoklch(48.79% 0.156 286.3)
XYZxyz(15.0316, 10.6579, 43.3760)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CB2 #A2B24C
analogous
#4C6FB2 #5C4CB2 #8F4CB2
triadic
#5C4CB2 #B25C4C #4CB25C
tetradic
#5C4CB2 #B24C6F #A2B24C #4CB28F
square
#5C4CB2 #B24C6F #A2B24C #4CB28F
split-complementary
#5C4CB2 #B28F4C #6FB24C
monochromatic
#30275C #463A87 #5C4CB2 #8376C5 #AAA1D7

Accessibility & contrast

On white

6.71
#5C4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5C4CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CB2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CB2#FFFFFF#000000##FFFFFF
##5C4CB21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045FB5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#3F6377
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c4cb2;
/* rgb */ color: rgb(92, 76, 178);
/* oklch */ color: oklch(48.8% 0.156 286.3);
Tailwind
colors: {
  custom: {
    50: '#907eca',
    500: '#5c4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #5c4cb2;
$custom-light: #907eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4cb2",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 249.412,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.15571,
    "h": 286.3
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#5C4CB2
secondary
#BDC496
accent
#D058BD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5C4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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