#6871ED Color Information

Hex color code: #6871ED

#6871ED is a eye-catching blue color. In RGB it is (104, 113, 237), and in HSL it is (236°, 79%, 67%). It is widely used in graphic design.

Try:
Color NameMedium Slate Blue
HEX
#6871ED
RGB
104, 113, 237
HSL
236°, 79%, 67%
CMYK
56%, 52%, 0%, 7%

Shades

CSS Usage
color: #6871ED;
background-color: #6871ED;
border-color: #6871ED;
box-shadow: 0 0 10px #6871ED;
border: 2px solid #6871ED;
Tailwind Usage
bg-[#6871ED]
text-[#6871ED]
border-[#6871ED]
shadow-[0_0_10px_6871ED]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #6871ED, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #6871ED; color: #000000; }

Badge

New Feature
.badge { background-color: #6871ED; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #6871ED; background-color: #6871ED15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #6871ED20; border-left: 4px solid #6871ED; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #6871ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6871ED in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

104, 113, 237

Red: 104 / Green: 113 / Blue: 237

HSL

236°, 79%, 67%

Hue: 236° / Saturation: 79% / Lightness: 67%

CMYK

56%, 52%, 0%, 7%

Cyan: 56% / Magenta: 52% / Yellow: 0% / Key: 7%

What color is #6871ED?

#6871ED is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6871ED to RGB:

rgb(104, 113, 237)HEX to RGB Converter →

HEX to HSL

Convert #6871ED to HSL:

hsl(236, 79%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #6871ED to CMYK:

cmyk(56%, 52%, 0%, 7%)Color Converter →

Color Meaning and Usage

A striking blue tone, #6871ED has RGB (104, 113, 237) and HSL (236°, 79%, 67%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6871ED is #EDE468, creating high-contrast pairings. For softer combinations, try analogous colors like #68B4ED.

Use #6871ED in CSS: color: #6871ED or background-color: #6871ED. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #6871ED

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 5.17:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6871ED?

#6871ED is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #6871ED?

#6871ED in RGB is (104, 113, 237) - 104 red, 113 green, and 237 blue.

How to use #6871ED in CSS?

Use #6871ED directly in your CSS properties like color or background-color.

What colors go well with #6871ED?

#EDE468 (complementary), #68B4ED (analogous), and #2431E5 (lighter shade) work well with #6871ED.