Medium slate blue is a bright, lively blue with a strong violet lean, like a periwinkle turned up a notch. Its code is #7B68EE: blue at 238 out of 255, almost full strength, with red at 123 and green at 104. Red a little above green tips the hue past pure blue toward violet, to 249°, and the high blue keeps it light and vivid.
In CSS it is mediumslateblue, and despite the name it is the lightest of the CSS slate blues, not the middle one. Paul Raveling built the slate blues for the X Window System’s color list in 1989 as one hue at four brightness levels: dark slate blue at 55%, slate blue at 80%, medium slate blue at 93% and light slate blue, #8470FF, at full strength. “Medium” sits between plain and light. Light slate blue never made it to the web in 2001, which left medium slate blue at the top.
The name has worn a very different color. In the oldest surviving X list, from 1986, medium slate blue was 127 0 255, #7F00FF, a fully saturated violet, while slate blue was the same three numbers in another order, 0 127 255, a bright azure. John Thomas’s 1989 list, tuned to a box of crayons, made it a muted gray blue, #5F6D9A. Raveling’s value is the one that stayed. None of them looks much like slate, the gray roofing stone: the 1930 dictionary slate blue is a grayish blue, and people’s average slate blue in the xkcd survey, #5B7C99, is a soft gray blue about a quarter as colorful as this one.
On screens, medium slate blue is a borderline color for text. Black on it has a contrast of about 5.1:1, enough for body text, while white reaches only about 4.2:1, fine for large headings and bold buttons but short of the 4.5:1 for small text. It pairs well with warm gold, cream, soft mint and deep navy violet, and sits well beside medium purple, its slightly redder neighbor.