Skip to content

Medium Slate Blue (#7B68EE)

The hex code for Medium Slate Blue is #7B68EE. It is rgb(123, 104, 238) in RGB, hsl(249, 80%, 67%) in HSL, and about cmyk(48%, 56%, 0%, 7%) in CMYK — a light blue. Black text is the more readable choice on this background.

#7B68EE
HEX#7B68EE
RGBrgb(123, 104, 238)
HSLhsl(249, 80%, 67%)
HSVhsv(249, 56%, 93%)
CMYKcmyk(48%, 56%, 0%, 7%)
OKLCHoklch(60.4% 0.194 285.5)
LABlab(51.28% 33.84 -66.48)
LCHlch(51.28% 74.59 296.98)

Colors Closest to Medium Slate Blue

Medium Slate Blue is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every blue in the library.

#7B68EE Channel Values

How Medium Slate Blue breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 123 · G 104 · B 2388-bit channels as sent to the display
HSLH 249° · S 80% · L 67%Easiest model for building lighter and darker variants
HSVH 249° · S 56% · V 93%Matches the picker in most design tools
CMYKC 48% · M 56% · Y 0% · K 7%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.15:1 vs white · 5.06:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Medium Slate Blue background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text4.15:1AA normal AA large AAA normal
TextBlack text5.06:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #7B68EE in the contrast checker.

Colors That Go With Medium Slate Blue

Pairings derived from color-wheel relationships. The complementary color sits opposite Medium Slate Blue; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Medium Slate Blue

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #7B68EE.

How Medium Slate Blue Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#7B68EE
Protanopia#6C6CEE
Protanomaly#726AEE
Deuteranopia#6F6FEE
Deuteranomaly#746CEE
Tritanopia#5C8383
Tritanomaly#6A79B8
Achromatopsia#7C7C7C

Test a full palette in the color blindness simulator.

Using #7B68EE in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--medium-slate-blue: #7B68EE;
CSS backgroundbackground-color: #7B68EE;
Tailwind configcolors: { 'medium-slate-blue': '#7B68EE' }
SwiftUIColor(red: 0.482, green: 0.408, blue: 0.933)
Android XML<color name="medium_slate_blue">#7B68EE</color>
SVG fillfill="#7B68EE"

More Blue Colors

Medium Slate Blue sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.

#7B68EE Frequently Asked Questions

What is the hex code for Medium Slate Blue?

The hex code for Medium Slate Blue is #7B68EE. That is rgb(123, 104, 238) in RGB, hsl(249, 80%, 67%) in HSL, and approximately cmyk(48%, 56%, 0%, 7%) in CMYK.

What is the RGB value of #7B68EE?

#7B68EE is rgb(123, 104, 238) — red 123, green 104, and blue 238 on the 0-255 scale.

What is the CMYK value of #7B68EE?

#7B68EE converts to approximately cmyk(48%, 56%, 0%, 7%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #7B68EE be black or white?

Black text is the more readable choice. #7B68EE scores 4.15:1 against white and 5.06:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Is MediumSlateBlue a CSS named color?

Yes. MediumSlateBlue is one of the CSS named colors, so you can write color: mediumslateblue instead of the hex code.

Open Medium Slate Blue in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.