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.

FormatValue
HEX#7B68EE
RGBrgb(123, 104, 238)
HSLhsl(249, 80%, 67%)
CMYK48%, 56%, 0%, 7%
CSS namemediumslateblue
.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.

#DBEE68Complementary
#6898EEAnalogous
#BE68EEAnalogous
#EE7B68Triadic
#68EE7BTriadic

Tints and shades of medium slate blue

Tints mix the color with white; shades mix it with black.

#F2F0FD90% white
#DED9FB75% white
#CAC3F860% white
#B6ACF645% white
#A395F330% white
#8F7FF115% white
#6958CA15% black
#5649A730% black
#44398345% black
#312A5F60% black
#1F1A3C75% black
#0C0A1890% black

Contrast and readability

Black text
5.06:1
passes AA
White text
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.