#1F34AD Color Information

Hex color code: #1F34AD

A peaceful blue shade, #1F34AD appears as (31, 52, 173) in RGB and (231°, 70%, 40%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#1F34AD
RGB
31, 52, 173
HSL
231°, 70%, 40%
CMYK
82%, 70%, 0%, 32%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1F34AD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 52, 173

Red: 31 / Green: 52 / Blue: 173

HSL

231°, 70%, 40%

Hue: 231° / Saturation: 70% / Lightness: 40%

CMYK

82%, 70%, 0%, 32%

Cyan: 82% / Magenta: 70% / Yellow: 0% / Key: 32%

What color is #1F34AD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F34AD to RGB:

rgb(31, 52, 173)HEX to RGB Converter →

HEX to HSL

Convert #1F34AD to HSL:

hsl(231, 70%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #1F34AD to CMYK:

cmyk(82%, 70%, 0%, 32%)Color Converter →

Color Meaning and Usage

#1F34AD is a peaceful blue color with RGB values of 31, 52, 173 and HSL of 231°, 70%, 40%. 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 #1F34AD is #AD981F, creating high-contrast pairings. For softer combinations, try analogous colors like #1F7BAD.

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

Contrast with #1F34AD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1F34AD?

#1F34AD is a peaceful blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #1F34AD?

#1F34AD in RGB is (31, 52, 173) - 31 red, 52 green, and 173 blue.

How to use #1F34AD in CSS?

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

What colors go well with #1F34AD?

#AD981F (complementary), #1F7BAD (analogous), and #13216C (lighter shade) work well with #1F34AD.