#6166EF Color Information

Hex color code: #6166EF

The hex color #6166EF is a bold blue with RGB values of (97, 102, 239) and HSL of (238°, 82%, 66%). It is often used for branding and logos.

Try:
Color NameMedium Slate Blue
HEX
#6166EF
RGB
97, 102, 239
HSL
238°, 82%, 66%
CMYK
59%, 57%, 0%, 6%

Shades

CSS Usage
color: #6166EF;
background-color: #6166EF;
border-color: #6166EF;
box-shadow: 0 0 10px #6166EF;
border: 2px solid #6166EF;
Tailwind Usage
bg-[#6166EF]
text-[#6166EF]
border-[#6166EF]
shadow-[0_0_10px_6166EF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #6166EF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #6166EF; color: #000000; }

Badge

New Feature
.badge { background-color: #6166EF; 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 #6166EF; background-color: #6166EF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #6166EF20; border-left: 4px solid #6166EF; }

Link / Accent

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

a { color: #6166EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6166EF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

97, 102, 239

Red: 97 / Green: 102 / Blue: 239

HSL

238°, 82%, 66%

Hue: 238° / Saturation: 82% / Lightness: 66%

CMYK

59%, 57%, 0%, 6%

Cyan: 59% / Magenta: 57% / Yellow: 0% / Key: 6%

What color is #6166EF?

#6166EF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6166EF to RGB:

rgb(97, 102, 239)HEX to RGB Converter →

HEX to HSL

Convert #6166EF to HSL:

hsl(238, 82%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #6166EF to CMYK:

cmyk(59%, 57%, 0%, 6%)Color Converter →

Color Meaning and Usage

A striking blue tone, #6166EF has RGB (97, 102, 239) and HSL (238°, 82%, 66%). Known for evoking energy and excitement, this highly saturated hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6166EF is #EFEB61, creating high-contrast pairings. For softer combinations, try analogous colors like #61ADEF.

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

Contrast with #6166EF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6166EF?

#6166EF is a striking blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #6166EF?

#6166EF in RGB is (97, 102, 239) - 97 red, 102 green, and 239 blue.

How to use #6166EF in CSS?

Use #6166EF directly in your CSS properties like color or background-color.

What colors go well with #6166EF?

#EFEB61 (complementary), #61ADEF (analogous), and #1C22E9 (lighter shade) work well with #6166EF.