#5C4DB2#5C4DB2

#5C4DB2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.154 H 286.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5C4DB2
RGBrgb(92, 77, 178)
HSLhsl(249, 40%, 50%)
HSVhsv(249, 57%, 70%)
CMYKcmyk(48.3%, 56.7%, 0%, 30.2%)
CIE-LABlab(39.24, 32.72, -51.95)
CIE-LCHlch(39.24, 61.40, 302.20°)
OKLaboklab(48.96% 0.0425 -0.1483)
OKLCHoklch(48.96% 0.154 286)
XYZxyz(15.1010, 10.7967, 43.3991)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4DB2 #A3B24D
analogous
#4D70B2 #5C4DB2 #8F4DB2
triadic
#5C4DB2 #B25C4D #4DB25C
tetradic
#5C4DB2 #B24D70 #A3B24D #4DB28F
square
#5C4DB2 #B24D70 #A3B24D #4DB28F
split-complementary
#5C4DB2 #B28F4D #70B24D
monochromatic
#30285D #463B87 #5C4DB2 #8378C4 #AAA2D7

Accessibility & contrast

On white

6.65
#5C4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5C4DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4DB2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4DB2#FFFFFF#000000##FFFFFF
##5C4DB21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5FB5
Deuteranopia (green-blind)
#0659B0
Tritanopia (blue-blind)
#3F6478
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c4db2;
/* rgb */ color: rgb(92, 77, 178);
/* oklch */ color: oklch(49.0% 0.154 286.0);
Tailwind
colors: {
  custom: {
    50: '#907fca',
    500: '#5c4db2',
    950: '#000000',
  },
}
SCSS
$custom: #5c4db2;
$custom-light: #907fca;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4db2",
  "rgb": {
    "r": 92,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 248.911,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.48964,
    "c": 0.1543,
    "h": 286
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#5C4DB2
secondary
#BDC497
accent
#CF58BE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5C4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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