#1F392B Color Information

Hex color code: #1F392B

A deep green shade, #1F392B appears as (31, 57, 43) in RGB and (148°, 30%, 17%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#1F392B
RGB
31, 57, 43
HSL
148°, 30%, 17%
CMYK
46%, 0%, 25%, 78%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1F392B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1F392B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #1F392B; 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 #1F392B; background-color: #1F392B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1F392B20; border-left: 4px solid #1F392B; }

Link / Accent

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

a { color: #1F392B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1F392B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 57, 43

Red: 31 / Green: 57 / Blue: 43

HSL

148°, 30%, 17%

Hue: 148° / Saturation: 30% / Lightness: 17%

CMYK

46%, 0%, 25%, 78%

Cyan: 46% / Magenta: 0% / Yellow: 25% / Key: 78%

What color is #1F392B?

#1F392B is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F392B to RGB:

rgb(31, 57, 43)HEX to RGB Converter →

HEX to HSL

Convert #1F392B to HSL:

hsl(148, 30%, 17%)RGB to HSL Converter →

HEX to CMYK

Convert #1F392B to CMYK:

cmyk(46%, 0%, 25%, 78%)Color Converter →

Color Meaning and Usage

A dramatic green tone, #1F392B has RGB (31, 57, 43) and HSL (148°, 30%, 17%). Known for evoking sophistication and elegance, this very dark shade is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1F392B is #381E2C, creating high-contrast pairings. For softer combinations, try analogous colors like #1F381E.

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

Contrast with #1F392B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1F392B?

#1F392B is a dramatic green color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #1F392B?

#1F392B in RGB is (31, 57, 43) - 31 red, 57 green, and 43 blue.

How to use #1F392B in CSS?

Use #1F392B directly in your CSS properties like color or background-color.

What colors go well with #1F392B?

#381E2C (complementary), #1F381E (analogous), and #040705 (lighter shade) work well with #1F392B.