#1F7EC7 Color Information

Hex color code: #1F7EC7

A bold blue shade, #1F7EC7 appears as (31, 126, 199) in RGB and (206°, 73%, 45%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameSteel Blue
HEX
#1F7EC7
RGB
31, 126, 199
HSL
206°, 73%, 45%
CMYK
84%, 37%, 0%, 22%

Shades

CSS Usage
color: #1F7EC7;
background-color: #1F7EC7;
border-color: #1F7EC7;
box-shadow: 0 0 10px #1F7EC7;
border: 2px solid #1F7EC7;
Tailwind Usage
bg-[#1F7EC7]
text-[#1F7EC7]
border-[#1F7EC7]
shadow-[0_0_10px_1F7EC7]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1F7EC7, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1F7EC7; color: #000000; }

Badge

New Feature
.badge { background-color: #1F7EC7; 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 #1F7EC7; background-color: #1F7EC715; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1F7EC720; border-left: 4px solid #1F7EC7; }

Link / Accent

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

a { color: #1F7EC7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1F7EC7 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 126, 199

Red: 31 / Green: 126 / Blue: 199

HSL

206°, 73%, 45%

Hue: 206° / Saturation: 73% / Lightness: 45%

CMYK

84%, 37%, 0%, 22%

Cyan: 84% / Magenta: 37% / Yellow: 0% / Key: 22%

What color is #1F7EC7?

#1F7EC7 is a cyan-blue hue associated with trust and professionalism.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F7EC7 to RGB:

rgb(31, 126, 199)HEX to RGB Converter →

HEX to HSL

Convert #1F7EC7 to HSL:

hsl(206, 73%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #1F7EC7 to CMYK:

cmyk(84%, 37%, 0%, 22%)Color Converter →

Color Meaning and Usage

A dynamic blue tone, #1F7EC7 has RGB (31, 126, 199) and HSL (206°, 73%, 45%). Known for evoking trust and professionalism, this cyan-blue hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1F7EC7 is #C7681F, creating high-contrast pairings. For softer combinations, try analogous colors like #1FC7BB.

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

Contrast with #1F7EC7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1F7EC7?

#1F7EC7 is a dynamic blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #1F7EC7?

#1F7EC7 in RGB is (31, 126, 199) - 31 red, 126 green, and 199 blue.

How to use #1F7EC7 in CSS?

Use #1F7EC7 directly in your CSS properties like color or background-color.

What colors go well with #1F7EC7?

#C7681F (complementary), #1FC7BB (analogous), and #155484 (lighter shade) work well with #1F7EC7.