#6152EB Color Information

Hex color code: #6152EB

A vivid blue shade, #6152EB appears as (97, 82, 235) in RGB and (246°, 79%, 62%) in HSL. It is commonly used in modern UI design.

Try:
Color NameSlate Blue
HEX
#6152EB
RGB
97, 82, 235
HSL
246°, 79%, 62%
CMYK
59%, 65%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #6152EB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #6152EB; color: #FFFFFF; }

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 #6152EB; background-color: #6152EB15; }

Alert / Toast

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

Link / Accent

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

a { color: #6152EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

97, 82, 235

Red: 97 / Green: 82 / Blue: 235

HSL

246°, 79%, 62%

Hue: 246° / Saturation: 79% / Lightness: 62%

CMYK

59%, 65%, 0%, 8%

Cyan: 59% / Magenta: 65% / Yellow: 0% / Key: 8%

What color is #6152EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6152EB to RGB:

rgb(97, 82, 235)HEX to RGB Converter →

HEX to HSL

Convert #6152EB to HSL:

hsl(246, 79%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #6152EB to CMYK:

cmyk(59%, 65%, 0%, 8%)Color Converter →

Color Meaning and Usage

#6152EB is a striking blue color with RGB values of 97, 82, 235 and HSL of 246°, 79%, 62%. This blue-purple hue evokes creativity and luxury, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6152EB is #DBEB52, creating high-contrast pairings. For softer combinations, try analogous colors like #528FEB.

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

Contrast with #6152EB

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

Contrast Ratio: 3.91:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6152EB?

#6152EB is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #6152EB?

#6152EB in RGB is (97, 82, 235) - 97 red, 82 green, and 235 blue.

How to use #6152EB in CSS?

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

What colors go well with #6152EB?

#DBEB52 (complementary), #528FEB (analogous), and #2C19D7 (lighter shade) work well with #6152EB.