#3171F1 Color Information

Hex color code: #3171F1

#3171F1 is a bold blue color. In RGB it is (49, 113, 241), and in HSL it is (220°, 87%, 57%). It is often used for branding and logos.

Try:
Color NameRoyal Blue
HEX
#3171F1
RGB
49, 113, 241
HSL
220°, 87%, 57%
CMYK
80%, 53%, 0%, 5%

Shades

CSS Usage
color: #3171F1;
background-color: #3171F1;
border-color: #3171F1;
box-shadow: 0 0 10px #3171F1;
border: 2px solid #3171F1;
Tailwind Usage
bg-[#3171F1]
text-[#3171F1]
border-[#3171F1]
shadow-[0_0_10px_3171F1]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #3171F1, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #3171F1; color: #000000; }

Badge

New Feature
.badge { background-color: #3171F1; 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 #3171F1; background-color: #3171F115; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #3171F120; border-left: 4px solid #3171F1; }

Link / Accent

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

a { color: #3171F1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #3171F1 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 113, 241

Red: 49 / Green: 113 / Blue: 241

HSL

220°, 87%, 57%

Hue: 220° / Saturation: 87% / Lightness: 57%

CMYK

80%, 53%, 0%, 5%

Cyan: 80% / Magenta: 53% / Yellow: 0% / Key: 5%

What color is #3171F1?

#3171F1 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3171F1 to RGB:

rgb(49, 113, 241)HEX to RGB Converter →

HEX to HSL

Convert #3171F1 to HSL:

hsl(220, 87%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #3171F1 to CMYK:

cmyk(80%, 53%, 0%, 5%)Color Converter →

Color Meaning and Usage

#3171F1 is a eye-catching blue color with RGB values of 49, 113, 241 and HSL of 220°, 87%, 57%. This highly saturated hue evokes energy and excitement, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #3171F1 is #F1B132, creating high-contrast pairings. For softer combinations, try analogous colors like #32D1F1.

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

Contrast with #3171F1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3171F1?

#3171F1 is a eye-catching blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #3171F1?

#3171F1 in RGB is (49, 113, 241) - 49 red, 113 green, and 241 blue.

How to use #3171F1 in CSS?

Use #3171F1 directly in your CSS properties like color or background-color.

What colors go well with #3171F1?

#F1B132 (complementary), #32D1F1 (analogous), and #0E4CC8 (lighter shade) work well with #3171F1.