#5241EC Color Information

Hex color code: #5241EC

The hex color #5241EC is a dynamic blue with RGB values of (82, 65, 236) and HSL of (246°, 82%, 59%). It is typically applied in digital products.

Try:
Color NameRoyal Blue
HEX
#5241EC
RGB
82, 65, 236
HSL
246°, 82%, 59%
CMYK
65%, 72%, 0%, 7%

Shades

CSS Usage
color: #5241EC;
background-color: #5241EC;
border-color: #5241EC;
box-shadow: 0 0 10px #5241EC;
border: 2px solid #5241EC;
Tailwind Usage
bg-[#5241EC]
text-[#5241EC]
border-[#5241EC]
shadow-[0_0_10px_5241EC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5241EC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5241EC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5241EC; 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 #5241EC; background-color: #5241EC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5241EC20; border-left: 4px solid #5241EC; }

Link / Accent

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

a { color: #5241EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5241EC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 65, 236

Red: 82 / Green: 65 / Blue: 236

HSL

246°, 82%, 59%

Hue: 246° / Saturation: 82% / Lightness: 59%

CMYK

65%, 72%, 0%, 7%

Cyan: 65% / Magenta: 72% / Yellow: 0% / Key: 7%

What color is #5241EC?

#5241EC is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5241EC to RGB:

rgb(82, 65, 236)HEX to RGB Converter →

HEX to HSL

Convert #5241EC to HSL:

hsl(246, 82%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #5241EC to CMYK:

cmyk(65%, 72%, 0%, 7%)Color Converter →

Color Meaning and Usage

A striking blue tone, #5241EC has RGB (82, 65, 236) and HSL (246°, 82%, 59%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5241EC is #DBEC41, creating high-contrast pairings. For softer combinations, try analogous colors like #4185EC.

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

Contrast with #5241EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5241EC?

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

What is the RGB value of #5241EC?

#5241EC in RGB is (82, 65, 236) - 82 red, 65 green, and 236 blue.

How to use #5241EC in CSS?

Use #5241EC directly in your CSS properties like color or background-color.

What colors go well with #5241EC?

#DBEC41 (complementary), #4185EC (analogous), and #2714CC (lighter shade) work well with #5241EC.