#1F1480 Color Information

Hex color code: #1F1480

A dynamic blue shade, #1F1480 appears as (31, 20, 128) in RGB and (246°, 73%, 29%) in HSL. It is typically applied in digital products.

Try:
Color NameNavy
HEX
#1F1480
RGB
31, 20, 128
HSL
246°, 73%, 29%
CMYK
76%, 84%, 0%, 50%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1F1480; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 20, 128

Red: 31 / Green: 20 / Blue: 128

HSL

246°, 73%, 29%

Hue: 246° / Saturation: 73% / Lightness: 29%

CMYK

76%, 84%, 0%, 50%

Cyan: 76% / Magenta: 84% / Yellow: 0% / Key: 50%

What color is #1F1480?

#1F1480 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F1480 to RGB:

rgb(31, 20, 128)HEX to RGB Converter →

HEX to HSL

Convert #1F1480 to HSL:

hsl(246, 73%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #1F1480 to CMYK:

cmyk(76%, 84%, 0%, 50%)Color Converter →

Color Meaning and Usage

#1F1480 is a striking blue color with RGB values of 31, 20, 128 and HSL of 246°, 73%, 29%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1F1480 is #758014, creating high-contrast pairings. For softer combinations, try analogous colors like #143F80.

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

Contrast with #1F1480

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1F1480?

#1F1480 is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #1F1480?

#1F1480 in RGB is (31, 20, 128) - 31 red, 20 green, and 128 blue.

How to use #1F1480 in CSS?

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

What colors go well with #1F1480?

#758014 (complementary), #143F80 (analogous), and #0F0A3E (lighter shade) work well with #1F1480.