#6166F5 Color Information

Hex color code: #6166F5

A eye-catching blue shade, #6166F5 appears as (97, 102, 245) in RGB and (238°, 88%, 67%) in HSL. It is widely used in graphic design.

Try:
Color NameMedium Slate Blue
HEX
#6166F5
RGB
97, 102, 245
HSL
238°, 88%, 67%
CMYK
60%, 58%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #6166F5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

97, 102, 245

Red: 97 / Green: 102 / Blue: 245

HSL

238°, 88%, 67%

Hue: 238° / Saturation: 88% / Lightness: 67%

CMYK

60%, 58%, 0%, 4%

Cyan: 60% / Magenta: 58% / Yellow: 0% / Key: 4%

What color is #6166F5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6166F5 to RGB:

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

HEX to HSL

Convert #6166F5 to HSL:

hsl(238, 88%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #6166F5 to CMYK:

cmyk(60%, 58%, 0%, 4%)Color Converter →

Color Meaning and Usage

#6166F5 is a dynamic blue color with RGB values of 97, 102, 245 and HSL of 238°, 88%, 67%. This highly saturated hue evokes energy and excitement, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6166F5 is #F5F061, creating high-contrast pairings. For softer combinations, try analogous colors like #61B0F5.

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

Contrast with #6166F5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6166F5?

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

What is the RGB value of #6166F5?

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

How to use #6166F5 in CSS?

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

What colors go well with #6166F5?

#F5F061 (complementary), #61B0F5 (analogous), and #1920F0 (lighter shade) work well with #6166F5.