#312F3D Color Information

Hex color code: #312F3D

A deep blue shade, #312F3D appears as (49, 47, 61) in RGB and (249°, 13%, 21%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#312F3D
RGB
49, 47, 61
HSL
249°, 13%, 21%
CMYK
20%, 23%, 0%, 76%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #312F3D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #312F3D; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #312F3D; 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 #312F3D; background-color: #312F3D15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #312F3D20; border-left: 4px solid #312F3D; }

Link / Accent

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

a { color: #312F3D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #312F3D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 47, 61

Red: 49 / Green: 47 / Blue: 61

HSL

249°, 13%, 21%

Hue: 249° / Saturation: 13% / Lightness: 21%

CMYK

20%, 23%, 0%, 76%

Cyan: 20% / Magenta: 23% / Yellow: 0% / Key: 76%

What color is #312F3D?

#312F3D is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #312F3D to RGB:

rgb(49, 47, 61)HEX to RGB Converter →

HEX to HSL

Convert #312F3D to HSL:

hsl(249, 13%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #312F3D to CMYK:

cmyk(20%, 23%, 0%, 76%)Color Converter →

Color Meaning and Usage

A dramatic blue tone, #312F3D has RGB (49, 47, 61) and HSL (249°, 13%, 21%). Known for evoking balance and subtlety, this desaturated neutral is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #312F3D is #3A3D2F, creating high-contrast pairings. For softer combinations, try analogous colors like #2F333D.

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

Contrast with #312F3D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #312F3D?

#312F3D is a dramatic blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #312F3D?

#312F3D in RGB is (49, 47, 61) - 49 red, 47 green, and 61 blue.

How to use #312F3D in CSS?

Use #312F3D directly in your CSS properties like color or background-color.

What colors go well with #312F3D?

#3A3D2F (complementary), #2F333D (analogous), and #0E0D11 (lighter shade) work well with #312F3D.