#6666EB Color Information

Hex color code: #6666EB

The hex color #6666EB is a eye-catching blue with RGB values of (102, 102, 235) and HSL of (240°, 77%, 66%). It is widely used in graphic design.

Try:
Color NameMedium Slate Blue
HEX
#6666EB
RGB
102, 102, 235
HSL
240°, 77%, 66%
CMYK
57%, 57%, 0%, 8%

Shades

CSS Usage
color: #6666EB;
background-color: #6666EB;
border-color: #6666EB;
box-shadow: 0 0 10px #6666EB;
border: 2px solid #6666EB;
Tailwind Usage
bg-[#6666EB]
text-[#6666EB]
border-[#6666EB]
shadow-[0_0_10px_6666EB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #6666EB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #6666EB; color: #000000; }

Badge

New Feature
.badge { background-color: #6666EB; 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 #6666EB; background-color: #6666EB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #6666EB20; border-left: 4px solid #6666EB; }

Link / Accent

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

a { color: #6666EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6666EB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

102, 102, 235

Red: 102 / Green: 102 / Blue: 235

HSL

240°, 77%, 66%

Hue: 240° / Saturation: 77% / Lightness: 66%

CMYK

57%, 57%, 0%, 8%

Cyan: 57% / Magenta: 57% / Yellow: 0% / Key: 8%

What color is #6666EB?

#6666EB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6666EB to RGB:

rgb(102, 102, 235)HEX to RGB Converter →

HEX to HSL

Convert #6666EB to HSL:

hsl(240, 77%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #6666EB to CMYK:

cmyk(57%, 57%, 0%, 8%)Color Converter →

Color Meaning and Usage

#6666EB is a bold blue color with RGB values of 102, 102, 235 and HSL of 240°, 77%, 66%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6666EB is #EBEB66, creating high-contrast pairings. For softer combinations, try analogous colors like #66A8EB.

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

Contrast with #6666EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6666EB?

#6666EB is a bold blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #6666EB?

#6666EB in RGB is (102, 102, 235) - 102 red, 102 green, and 235 blue.

How to use #6666EB in CSS?

Use #6666EB directly in your CSS properties like color or background-color.

What colors go well with #6666EB?

#EBEB66 (complementary), #66A8EB (analogous), and #2222E2 (lighter shade) work well with #6666EB.