Medium slate blue
Medium slate blue is a rich shade of blue. Hex code #7B68EE.
Medium slate blue color codes
- CSS name
mediumslateblue - HEX
#7B68EE - RGB
rgb(123, 104, 238) - HSL
hsl(249, 80%, 67%) - OKLCH
oklch(60.4% 0.194 285.5)
HSB and CMYK values
- HSB / HSV
hsb(249, 56%, 93%) - CMYK
C48 M56 Y0 K7
White text
4.15:1 · passes WCAG AA for large text only
Black text
5.05:1 · passes WCAG AA
Shades of medium slate blue
A darker shade of medium slate blue is #4D2EB2 (600), and a lighter one is #B1ADFF (200).
Colors that go with medium slate blue
Complementary
Analogous
Triadic
The complementary color of medium slate blue is #DBEE68.
Click a color to copy its hex code.
Colors similar to medium slate blue
- Medium purple#9370DB
Slightly lighter, more purple, more muted
- Slate blue#6A5ACD
Darker
- Royal blue#4169E1
Slightly darker, less purple
- Blue violet#8A2BE2
Darker, more purple, more vivid
- Cornflower blue#6495ED
Lighter, more cyan, more muted
- Dodger blue#1E90FF
Slightly lighter, more cyan
Each compared with medium slate blue.
About this color
Medium slate blue in CSS and design
Medium slate blue is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same medium slate blue:
color: mediumslateblue;
color: #7B68EE;
color: rgb(123, 104, 238);
color: hsl(249, 80%, 67%);Frequently asked questions
What is the hex code for medium slate blue?
#7B68EE. In CSS you can also use the keyword mediumslateblue, which works in every browser.
What is medium slate blue in RGB and HSL?
In RGB it is rgb(123, 104, 238) and in HSL hsl(249, 80%, 67%). In CMYK it is about C48 M56 Y0 K7, though printed colors vary with paper and ink.
Should I use black or white text on medium slate blue?
Black text works better: it has a contrast ratio of 5.05:1 and passes WCAG AA. White text reaches 4.15:1.
What is the complementary color of medium slate blue?
#DBEE68. It sits opposite medium slate blue on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.
Which colors go with medium slate blue?
For strong contrast, pair it with its complementary color #DBEE68. For a calmer look, combine it with its analogous neighbors #6898EE and #BE68EE. The palette generator builds more combinations.