#313F38 Color Information

Hex color code: #313F38

#313F38 is a rich cyan color. In RGB it is (49, 63, 56), and in HSL it is (150°, 13%, 22%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#313F38
RGB
49, 63, 56
HSL
150°, 13%, 22%
CMYK
22%, 0%, 11%, 75%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #313F38; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 63, 56

Red: 49 / Green: 63 / Blue: 56

HSL

150°, 13%, 22%

Hue: 150° / Saturation: 13% / Lightness: 22%

CMYK

22%, 0%, 11%, 75%

Cyan: 22% / Magenta: 0% / Yellow: 11% / Key: 75%

What color is #313F38?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #313F38 to RGB:

rgb(49, 63, 56)HEX to RGB Converter →

HEX to HSL

Convert #313F38 to HSL:

hsl(150, 13%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #313F38 to CMYK:

cmyk(22%, 0%, 11%, 75%)Color Converter →

Color Meaning and Usage

#313F38 is a rich cyan color with RGB values of 49, 63, 56 and HSL of 150°, 13%, 22%. This desaturated neutral evokes balance and subtlety, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #313F38 is #3F3138, creating high-contrast pairings. For softer combinations, try analogous colors like #313F31.

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

Contrast with #313F38

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #313F38?

#313F38 is a rich cyan color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #313F38?

#313F38 in RGB is (49, 63, 56) - 49 red, 63 green, and 56 blue.

How to use #313F38 in CSS?

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

What colors go well with #313F38?

#3F3138 (complementary), #313F31 (analogous), and #101412 (lighter shade) work well with #313F38.