#2F2749 Color Information

Hex color code: #2F2749

The hex color #2F2749 is a dark blue with RGB values of (47, 39, 73) and HSL of (254°, 30%, 22%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#2F2749
RGB
47, 39, 73
HSL
254°, 30%, 22%
CMYK
36%, 47%, 0%, 71%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2F2749, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2F2749; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2F2749; 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 #2F2749; background-color: #2F274915; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2F274920; border-left: 4px solid #2F2749; }

Link / Accent

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

a { color: #2F2749; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2F2749 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 39, 73

Red: 47 / Green: 39 / Blue: 73

HSL

254°, 30%, 22%

Hue: 254° / Saturation: 30% / Lightness: 22%

CMYK

36%, 47%, 0%, 71%

Cyan: 36% / Magenta: 47% / Yellow: 0% / Key: 71%

What color is #2F2749?

#2F2749 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F2749 to RGB:

rgb(47, 39, 73)HEX to RGB Converter →

HEX to HSL

Convert #2F2749 to HSL:

hsl(254, 30%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #2F2749 to CMYK:

cmyk(36%, 47%, 0%, 71%)Color Converter →

Color Meaning and Usage

A deep blue tone, #2F2749 has RGB (47, 39, 73) and HSL (254°, 30%, 22%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F2749 is #414927, creating high-contrast pairings. For softer combinations, try analogous colors like #273049.

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

Contrast with #2F2749

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F2749?

#2F2749 is a deep blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2F2749?

#2F2749 in RGB is (47, 39, 73) - 47 red, 39 green, and 73 blue.

How to use #2F2749 in CSS?

Use #2F2749 directly in your CSS properties like color or background-color.

What colors go well with #2F2749?

#414927 (complementary), #273049 (analogous), and #0F0C17 (lighter shade) work well with #2F2749.