#291DAF Color Information

Hex color code: #291DAF

#291DAF is a dynamic blue color. In RGB it is (41, 29, 175), and in HSL it is (245°, 72%, 40%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#291DAF
RGB
41, 29, 175
HSL
245°, 72%, 40%
CMYK
77%, 83%, 0%, 31%

Shades

CSS Usage
color: #291DAF;
background-color: #291DAF;
border-color: #291DAF;
box-shadow: 0 0 10px #291DAF;
border: 2px solid #291DAF;
Tailwind Usage
bg-[#291DAF]
text-[#291DAF]
border-[#291DAF]
shadow-[0_0_10px_291DAF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #291DAF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #291DAF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #291DAF; 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 #291DAF; background-color: #291DAF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #291DAF20; border-left: 4px solid #291DAF; }

Link / Accent

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

a { color: #291DAF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #291DAF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

41, 29, 175

Red: 41 / Green: 29 / Blue: 175

HSL

245°, 72%, 40%

Hue: 245° / Saturation: 72% / Lightness: 40%

CMYK

77%, 83%, 0%, 31%

Cyan: 77% / Magenta: 83% / Yellow: 0% / Key: 31%

What color is #291DAF?

#291DAF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #291DAF to RGB:

rgb(41, 29, 175)HEX to RGB Converter →

HEX to HSL

Convert #291DAF to HSL:

hsl(245, 72%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #291DAF to CMYK:

cmyk(77%, 83%, 0%, 31%)Color Converter →

Color Meaning and Usage

A dynamic blue tone, #291DAF has RGB (41, 29, 175) and HSL (245°, 72%, 40%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #291DAF is #A3AF1D, creating high-contrast pairings. For softer combinations, try analogous colors like #1D5AAF.

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

Contrast with #291DAF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #291DAF?

#291DAF is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #291DAF?

#291DAF in RGB is (41, 29, 175) - 41 red, 29 green, and 175 blue.

How to use #291DAF in CSS?

Use #291DAF directly in your CSS properties like color or background-color.

What colors go well with #291DAF?

#A3AF1D (complementary), #1D5AAF (analogous), and #19126E (lighter shade) work well with #291DAF.