#2F264B Color Information

Hex color code: #2F264B

#2F264B is a dark purple color. In RGB it is (47, 38, 75), and in HSL it is (255°, 33%, 22%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#2F264B
RGB
47, 38, 75
HSL
255°, 33%, 22%
CMYK
37%, 49%, 0%, 71%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2F264B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 38, 75

Red: 47 / Green: 38 / Blue: 75

HSL

255°, 33%, 22%

Hue: 255° / Saturation: 33% / Lightness: 22%

CMYK

37%, 49%, 0%, 71%

Cyan: 37% / Magenta: 49% / Yellow: 0% / Key: 71%

What color is #2F264B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F264B to RGB:

rgb(47, 38, 75)HEX to RGB Converter →

HEX to HSL

Convert #2F264B to HSL:

hsl(255, 33%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #2F264B to CMYK:

cmyk(37%, 49%, 0%, 71%)Color Converter →

Color Meaning and Usage

#2F264B is a deep purple color with RGB values of 47, 38, 75 and HSL of 255°, 33%, 22%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F264B is #414B26, creating high-contrast pairings. For softer combinations, try analogous colors like #262F4B.

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

Contrast with #2F264B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F264B?

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

What is the RGB value of #2F264B?

#2F264B in RGB is (47, 38, 75) - 47 red, 38 green, and 75 blue.

How to use #2F264B in CSS?

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

What colors go well with #2F264B?

#414B26 (complementary), #262F4B (analogous), and #0F0C18 (lighter shade) work well with #2F264B.