#313A2C Color Information

Hex color code: #313A2C

#313A2C is a deep green color. In RGB it is (49, 58, 44), and in HSL it is (99°, 14%, 20%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#313A2C
RGB
49, 58, 44
HSL
99°, 14%, 20%
CMYK
16%, 0%, 24%, 77%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #313A2C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #313A2C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #313A2C; 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 #313A2C; background-color: #313A2C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #313A2C20; border-left: 4px solid #313A2C; }

Link / Accent

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

a { color: #313A2C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #313A2C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 58, 44

Red: 49 / Green: 58 / Blue: 44

HSL

99°, 14%, 20%

Hue: 99° / Saturation: 14% / Lightness: 20%

CMYK

16%, 0%, 24%, 77%

Cyan: 16% / Magenta: 0% / Yellow: 24% / Key: 77%

What color is #313A2C?

#313A2C is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #313A2C to RGB:

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

HEX to HSL

Convert #313A2C to HSL:

hsl(99, 14%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #313A2C to CMYK:

cmyk(16%, 0%, 24%, 77%)Color Converter →

Color Meaning and Usage

A dramatic green tone, #313A2C has RGB (49, 58, 44) and HSL (99°, 14%, 20%). Known for evoking balance and subtlety, this desaturated neutral is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #313A2C is #352C3A, creating high-contrast pairings. For softer combinations, try analogous colors like #383A2C.

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

Contrast with #313A2C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #313A2C?

#313A2C is a dramatic green color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #313A2C?

#313A2C in RGB is (49, 58, 44) - 49 red, 58 green, and 44 blue.

How to use #313A2C in CSS?

Use #313A2C directly in your CSS properties like color or background-color.

What colors go well with #313A2C?

#352C3A (complementary), #383A2C (analogous), and #0C0F0B (lighter shade) work well with #313A2C.