#5062AF Color Information

Hex color code: #5062AF

A subtle blue shade, #5062AF appears as (80, 98, 175) in RGB and (229°, 37%, 50%) in HSL. It is popular in mobile app design.

Try:
Color NameSteel Blue
HEX
#5062AF
RGB
80, 98, 175
HSL
229°, 37%, 50%
CMYK
54%, 44%, 0%, 31%

Shades

CSS Usage
color: #5062AF;
background-color: #5062AF;
border-color: #5062AF;
box-shadow: 0 0 10px #5062AF;
border: 2px solid #5062AF;
Tailwind Usage
bg-[#5062AF]
text-[#5062AF]
border-[#5062AF]
shadow-[0_0_10px_5062AF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5062AF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5062AF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5062AF; 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 #5062AF; background-color: #5062AF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5062AF20; border-left: 4px solid #5062AF; }

Link / Accent

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

a { color: #5062AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5062AF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

80, 98, 175

Red: 80 / Green: 98 / Blue: 175

HSL

229°, 37%, 50%

Hue: 229° / Saturation: 37% / Lightness: 50%

CMYK

54%, 44%, 0%, 31%

Cyan: 54% / Magenta: 44% / Yellow: 0% / Key: 31%

What color is #5062AF?

#5062AF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5062AF to RGB:

rgb(80, 98, 175)HEX to RGB Converter →

HEX to HSL

Convert #5062AF to HSL:

hsl(229, 37%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #5062AF to CMYK:

cmyk(54%, 44%, 0%, 31%)Color Converter →

Color Meaning and Usage

#5062AF is a soft blue color with RGB values of 80, 98, 175 and HSL of 229°, 37%, 50%. This blue-purple hue evokes creativity and luxury, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5062AF is #AF9D50, creating high-contrast pairings. For softer combinations, try analogous colors like #5091AF.

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

Contrast with #5062AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5062AF?

#5062AF is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5062AF?

#5062AF in RGB is (80, 98, 175) - 80 red, 98 green, and 175 blue.

How to use #5062AF in CSS?

Use #5062AF directly in your CSS properties like color or background-color.

What colors go well with #5062AF?

#AF9D50 (complementary), #5091AF (analogous), and #38447A (lighter shade) work well with #5062AF.