#6252EF Color Information

Hex color code: #6252EF

A eye-catching blue shade, #6252EF appears as (98, 82, 239) in RGB and (246°, 83%, 63%) in HSL. It is widely used in graphic design.

Try:
Color NameMedium Slate Blue
HEX
#6252EF
RGB
98, 82, 239
HSL
246°, 83%, 63%
CMYK
59%, 66%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #6252EF; color: #FFFFFF; }

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #6252EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

98, 82, 239

Red: 98 / Green: 82 / Blue: 239

HSL

246°, 83%, 63%

Hue: 246° / Saturation: 83% / Lightness: 63%

CMYK

59%, 66%, 0%, 6%

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

What color is #6252EF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6252EF to RGB:

rgb(98, 82, 239)HEX to RGB Converter →

HEX to HSL

Convert #6252EF to HSL:

hsl(246, 83%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #6252EF to CMYK:

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

Color Meaning and Usage

#6252EF is a bold blue color with RGB values of 98, 82, 239 and HSL of 246°, 83%, 63%. This highly saturated hue evokes energy and excitement, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6252EF is #DFEF52, creating high-contrast pairings. For softer combinations, try analogous colors like #5291EF.

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

Contrast with #6252EF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6252EF?

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

What is the RGB value of #6252EF?

#6252EF in RGB is (98, 82, 239) - 98 red, 82 green, and 239 blue.

How to use #6252EF in CSS?

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

What colors go well with #6252EF?

#DFEF52 (complementary), #5291EF (analogous), and #2915E0 (lighter shade) work well with #6252EF.