#314940 Color Information

Hex color code: #314940

A intense cyan shade, #314940 appears as (49, 73, 64) in RGB and (158°, 20%, 24%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#314940
RGB
49, 73, 64
HSL
158°, 20%, 24%
CMYK
33%, 0%, 12%, 71%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #314940; 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 #314940; background-color: #31494015; }

Alert / Toast

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

Link / Accent

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

a { color: #314940; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #314940 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 73, 64

Red: 49 / Green: 73 / Blue: 64

HSL

158°, 20%, 24%

Hue: 158° / Saturation: 20% / Lightness: 24%

CMYK

33%, 0%, 12%, 71%

Cyan: 33% / Magenta: 0% / Yellow: 12% / Key: 71%

What color is #314940?

#314940 is a cyan-blue hue associated with trust and professionalism.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #314940 to RGB:

rgb(49, 73, 64)HEX to RGB Converter →

HEX to HSL

Convert #314940 to HSL:

hsl(158, 20%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #314940 to CMYK:

cmyk(33%, 0%, 12%, 71%)Color Converter →

Color Meaning and Usage

A intense cyan tone, #314940 has RGB (49, 73, 64) and HSL (158°, 20%, 24%). Known for evoking trust and professionalism, this cyan-blue hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #314940 is #49313A, creating high-contrast pairings. For softer combinations, try analogous colors like #314934.

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

Contrast with #314940

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #314940?

#314940 is a intense cyan color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #314940?

#314940 in RGB is (49, 73, 64) - 49 red, 73 green, and 64 blue.

How to use #314940 in CSS?

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

What colors go well with #314940?

#49313A (complementary), #314934 (analogous), and #121C18 (lighter shade) work well with #314940.