Medium Slate Blue Color Code (#7b68ee)

Medium Slate Blue is #7b68ee in hex and rgb(123, 104, 238) — a light blue. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Medium Slate Blue
#7b68ee
CSS namemediumslateblue
Hex#7b68ee
RGBrgb(123, 104, 238)
HSLhsl(249 80% 67%)
HWBhwb(249 41% 7%)
CMYK48%, 56%, 0%, 7%

Tints and shades

Color harmonies

About Medium Slate Blue

Medium Slate Blue (mediumslateblue) is a light, vivid blue with the hex code #7b68ee, or rgb(123, 104, 238). In HSL it sits at a hue of 249°, 80% saturation and 67% lightness. It is one of the 148 named colors every browser understands, so you can write color: mediumslateblue; instead of the hex value.

Using Medium Slate Blue for text and backgrounds

PairingContrast ratioWCAG
Medium Slate Blue text on white4.15 : 1AA large text only
Medium Slate Blue text on black5.06 : 1AA

On a medium slate blue background, use black text (5.06 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: mediumslateblue;               /* or #7b68ee */
  background-color: #7b68ee;
  border: 1px solid rgb(123 104 238 / 50%);
}

Similar named colors

Medium Purple (#9370db), Slate Blue (#6a5acd), Cornflower Blue (#6495ed), Royal Blue (#4169e1), Blue Violet (#8a2be2), Dark Orchid (#9932cc).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for medium slate blue?
#7b68ee — that is rgb(123, 104, 238) and hsl(249, 80%, 67%). In CSS you can also just write mediumslateblue.
Is medium slate blue text readable on white?
Its contrast ratio on white is 4.15 : 1, which passes only for large text (WCAG AA large).
What colors go well with medium slate blue?
Its complementary color is #daee68; analogous colors #6897ee and #bf68ee sit next to it on the color wheel.