#5A97ED Color Information

Hex color code: #5A97ED

The hex color #5A97ED is a vivid blue with RGB values of (90, 151, 237) and HSL of (215°, 80%, 64%). It is commonly used in modern UI design.

Try:
Color NameCornflower Blue
HEX
#5A97ED
RGB
90, 151, 237
HSL
215°, 80%, 64%
CMYK
62%, 36%, 0%, 7%

Shades

CSS Usage
color: #5A97ED;
background-color: #5A97ED;
border-color: #5A97ED;
box-shadow: 0 0 10px #5A97ED;
border: 2px solid #5A97ED;
Tailwind Usage
bg-[#5A97ED]
text-[#5A97ED]
border-[#5A97ED]
shadow-[0_0_10px_5A97ED]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5A97ED, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5A97ED; color: #000000; }

Badge

New Feature
.badge { background-color: #5A97ED; 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 #5A97ED; background-color: #5A97ED15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5A97ED20; border-left: 4px solid #5A97ED; }

Link / Accent

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

a { color: #5A97ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5A97ED in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

90, 151, 237

Red: 90 / Green: 151 / Blue: 237

HSL

215°, 80%, 64%

Hue: 215° / Saturation: 80% / Lightness: 64%

CMYK

62%, 36%, 0%, 7%

Cyan: 62% / Magenta: 36% / Yellow: 0% / Key: 7%

What color is #5A97ED?

#5A97ED is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5A97ED to RGB:

rgb(90, 151, 237)HEX to RGB Converter →

HEX to HSL

Convert #5A97ED to HSL:

hsl(215, 80%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #5A97ED to CMYK:

cmyk(62%, 36%, 0%, 7%)Color Converter →

Color Meaning and Usage

A dynamic blue tone, #5A97ED has RGB (90, 151, 237) and HSL (215°, 80%, 64%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5A97ED is #EDAF5A, creating high-contrast pairings. For softer combinations, try analogous colors like #5AE0ED.

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

Contrast with #5A97ED

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

Contrast Ratio: 7.08:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5A97ED?

#5A97ED is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5A97ED?

#5A97ED in RGB is (90, 151, 237) - 90 red, 151 green, and 237 blue.

How to use #5A97ED in CSS?

Use #5A97ED directly in your CSS properties like color or background-color.

What colors go well with #5A97ED?

#EDAF5A (complementary), #5AE0ED (analogous), and #196CE1 (lighter shade) work well with #5A97ED.