Medium Slate Blue color: hex code #7B68EE

#7B68EE rgb(123, 104, 238)
Shades of blue

Medium Slate Blue has the hex code #7B68EE. It is a light, moderate blue.

In the RGB color model it is made of 48.2% red, 40.8% green and 93.3% blue (123, 104, 238).

Its hue angle is 249°, with 80% saturation and 67% lightness. For print, the CMYK equivalent is 48% cyan, 56% magenta, 0% yellow and 7% black.

You can use it in CSS with the keyword mediumslateblue.

Black text is the more readable choice on this background (contrast 5.06:1).

Medium Slate Blue (#7B68EE) color codes

HEX#7B68EE
RGBrgb(123, 104, 238)
RGB percentrgb(48.2%, 40.8%, 93.3%)
HSLhsl(249, 80%, 67%)
HSV / HSBhsv(249, 56%, 93%)
CMYKcmyk(48%, 56%, 0%, 7%)
CIE LABlab(52.16, 41.07, -65.4)
CIE LCHlch(52.16, 77.22, 302.13)
CIE XYZxyz(28.547, 20.283, 83.283)
Decimal8087790
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Medium Slate Blue, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #7B68EERatioAAAAAAA large
Sample text5.06:1PassFailPass
Sample text4.15:1FailFailPass
#7B68EE as text onRatioAAAAAAA large
Sample text4.15:1FailFailPass
Sample text5.06:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #7B68EE looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7b68ee; }
.text { color: #7b68ee; }
.border { border: 2px solid #7b68ee; }
.transparent { background-color: rgb(123 104 238 / 50%); }
.gradient { background: linear-gradient(to right, #7b68ee, #be68ee); }
Background
Text color
Border

Similar colors

See #7B68EE on its hex code page

Questions

What color is #7B68EE?
#7B68EE is a light, moderate blue known as Medium Slate Blue. It belongs to the blue family of colors.
What is the RGB value of Medium Slate Blue?
The RGB value is 123, 104, 238: 123 red, 104 green and 238 blue on a 0 to 255 scale.
What is the complementary color of Medium Slate Blue?
The complementary color is #DBEE68, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7B68EE?
Black text. Black text has a contrast ratio of 5.06:1 and white text 4.15:1. WCAG asks for at least 4.5:1 for normal text.