#1F7DA8 Color Information

Hex color code: #1F7DA8

A serene blue shade, #1F7DA8 appears as (31, 125, 168) in RGB and (199°, 69%, 39%) in HSL. It is popular in mobile app design.

Try:
Color NameSteel Blue
HEX
#1F7DA8
RGB
31, 125, 168
HSL
199°, 69%, 39%
CMYK
82%, 26%, 0%, 34%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #1F7DA8; color: #FFFFFF; }

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1F7DA8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 125, 168

Red: 31 / Green: 125 / Blue: 168

HSL

199°, 69%, 39%

Hue: 199° / Saturation: 69% / Lightness: 39%

CMYK

82%, 26%, 0%, 34%

Cyan: 82% / Magenta: 26% / Yellow: 0% / Key: 34%

What color is #1F7DA8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F7DA8 to RGB:

rgb(31, 125, 168)HEX to RGB Converter →

HEX to HSL

Convert #1F7DA8 to HSL:

hsl(199, 69%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #1F7DA8 to CMYK:

cmyk(82%, 26%, 0%, 34%)Color Converter →

Color Meaning and Usage

A peaceful blue tone, #1F7DA8 has RGB (31, 125, 168) and HSL (199°, 69%, 39%). Known for evoking trust and professionalism, this cyan-blue hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1F7DA8 is #A84A1F, creating high-contrast pairings. For softer combinations, try analogous colors like #1FA88F.

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

Contrast with #1F7DA8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1F7DA8?

#1F7DA8 is a peaceful blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #1F7DA8?

#1F7DA8 in RGB is (31, 125, 168) - 31 red, 125 green, and 168 blue.

How to use #1F7DA8 in CSS?

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

What colors go well with #1F7DA8?

#A84A1F (complementary), #1FA88F (analogous), and #134D67 (lighter shade) work well with #1F7DA8.