CSS named color
MediumSlateBlue Color Code
MediumSlateBlue is a light, vivid blue-violet with the hex code #7B68EE. In RGB it is rgb(123, 104, 238), in HSL hsl(249, 80%, 67%) and in CMYK cmyk(48%, 56%, 0%, 7%).
Color values
In CSS you can write it as the keyword mediumslateblue.
White text on MediumSlateBlue has a contrast ratio of 4.15:1 and black text 5.06:1, so black text is the more readable choice.
The closest Tailwind CSS color is Indigo 500 (#6366F1).
Use MediumSlateBlue in CSS
.element {
color: mediumslateblue;
background-color: #7b68ee;
border-color: rgb(123, 104, 238);
} Tints and shades of MediumSlateBlue
Ten steps from light to dark at the same hue. Click any swatch to copy it.
Colors that go with MediumSlateBlue
Color-wheel harmonies built from #7B68EE. Click a swatch to copy it or open the set in the color wheel.
Split complementary
Open in color wheelA base plus the two neighbors of its complement — contrast with less tension.
Text contrast on MediumSlateBlue
Colors similar to MediumSlateBlue
Closest CSS named colors
Closest traditional Chinese colors
Closest Tailwind colors
Palettes with similar colors
Questions about MediumSlateBlue
What is the hex code for MediumSlateBlue?
The hex code for MediumSlateBlue is #7B68EE. Its RGB value is rgb(123, 104, 238) and its HSL value is hsl(249, 80%, 67%).
What colors go with MediumSlateBlue?
The complementary color of MediumSlateBlue is #DAEE68. For a softer scheme try the analogous colors #6897EE and #BF68EE; for a balanced three-color scheme use the triadic colors #EE7C68 and #68EE7C.
Is MediumSlateBlue readable as a text color?
On a white background MediumSlateBlue has a contrast ratio of 4.15:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 5.06:1.