Medium Slate Blue Color
HEX #7B68EE · rgb(123, 104, 238) · hsl(249, 80%, 67%)
Medium Slate Blue color codes
Medium Slate Blue is one of the named colors every browser understands. In CSS you can write it as mediumslateblue or #7B68EE.
| Format | Value | |
|---|---|---|
| HEX | #7B68EE | |
| RGB | rgb(123, 104, 238) | |
| HSL | hsl(249, 80%, 67%) | |
| CMYK | 48%, 56%, 0%, 7% | |
| CSS name | mediumslateblue |
.example {
color: mediumslateblue;
background-color: #7B68EE;
border-color: rgb(123, 104, 238);
}
Colors that go with medium slate blue
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of medium slate blue
Tints mix the color with white; shades mix it with black.
Medium Slate Blue
Contrast and readability
5.06:1
passes AA
4.15:1
large text only
Use black text on medium slate blue. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for medium slate blue?
The hex code for medium slate blue is #7B68EE.
What is the RGB value of medium slate blue?
Medium Slate Blue is rgb(123, 104, 238): 123 red, 104 green and 238 blue on a 0 to 255 scale.
What color goes with medium slate blue?
Its complementary color is #DBEE68, which is closest to the named color khaki. Analogous and triadic matches are listed on this page.
Should text on medium slate blue be black or white?
Use black text. The contrast ratio is 5.06:1 with black and 4.15:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.