#5291EB Color Information

Hex color code: #5291EB

#5291EB is a vivid blue color. In RGB it is (82, 145, 235), and in HSL it is (215°, 79%, 62%). It is commonly used in modern UI design.

Try:
Color NameCornflower Blue
HEX
#5291EB
RGB
82, 145, 235
HSL
215°, 79%, 62%
CMYK
65%, 38%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #5291EB; color: #000000; }

Badge

New Feature
.badge { background-color: #5291EB; 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 #5291EB; background-color: #5291EB15; }

Alert / Toast

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

Link / Accent

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

a { color: #5291EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 145, 235

Red: 82 / Green: 145 / Blue: 235

HSL

215°, 79%, 62%

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

CMYK

65%, 38%, 0%, 8%

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

What color is #5291EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5291EB to RGB:

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

HEX to HSL

Convert #5291EB to HSL:

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

HEX to CMYK

Convert #5291EB to CMYK:

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

Color Meaning and Usage

#5291EB is a eye-catching blue color with RGB values of 82, 145, 235 and HSL of 215°, 79%, 62%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5291EB is #EBAB52, creating high-contrast pairings. For softer combinations, try analogous colors like #52DEEB.

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

Contrast with #5291EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5291EB?

#5291EB is a eye-catching blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5291EB?

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

How to use #5291EB in CSS?

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

What colors go well with #5291EB?

#EBAB52 (complementary), #52DEEB (analogous), and #1968D7 (lighter shade) work well with #5291EB.