#2B312C Color Information

Hex color code: #2B312C

The hex color #2B312C is a dramatic green with RGB values of (43, 49, 44) and HSL of (130°, 7%, 18%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#2B312C
RGB
43, 49, 44
HSL
130°, 7%, 18%
CMYK
12%, 0%, 10%, 81%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2B312C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

43, 49, 44

Red: 43 / Green: 49 / Blue: 44

HSL

130°, 7%, 18%

Hue: 130° / Saturation: 7% / Lightness: 18%

CMYK

12%, 0%, 10%, 81%

Cyan: 12% / Magenta: 0% / Yellow: 10% / Key: 81%

What color is #2B312C?

#2B312C is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2B312C to RGB:

rgb(43, 49, 44)HEX to RGB Converter →

HEX to HSL

Convert #2B312C to HSL:

hsl(130, 7%, 18%)RGB to HSL Converter →

HEX to CMYK

Convert #2B312C to CMYK:

cmyk(12%, 0%, 10%, 81%)Color Converter →

Color Meaning and Usage

A deep green tone, #2B312C has RGB (43, 49, 44) and HSL (130°, 7%, 18%). Known for evoking sophistication and elegance, this very dark shade is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2B312C is #312B30, creating high-contrast pairings. For softer combinations, try analogous colors like #2D312B.

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

Contrast with #2B312C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2B312C?

#2B312C is a deep green color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #2B312C?

#2B312C in RGB is (43, 49, 44) - 43 red, 49 green, and 44 blue.

How to use #2B312C in CSS?

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

What colors go well with #2B312C?

#312B30 (complementary), #2D312B (analogous), and #070807 (lighter shade) work well with #2B312C.