#313C49 Color Information

Hex color code: #313C49

The hex color #313C49 is a dark blue with RGB values of (49, 60, 73) and HSL of (213°, 20%, 24%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#313C49
RGB
49, 60, 73
HSL
213°, 20%, 24%
CMYK
33%, 18%, 0%, 71%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #313C49; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 60, 73

Red: 49 / Green: 60 / Blue: 73

HSL

213°, 20%, 24%

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

CMYK

33%, 18%, 0%, 71%

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

What color is #313C49?

#313C49 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #313C49 to RGB:

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

HEX to HSL

Convert #313C49 to HSL:

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

HEX to CMYK

Convert #313C49 to CMYK:

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

Color Meaning and Usage

#313C49 is a intense blue color with RGB values of 49, 60, 73 and HSL of 213°, 20%, 24%. This blue-purple hue evokes creativity and luxury, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #313C49 is #493E31, creating high-contrast pairings. For softer combinations, try analogous colors like #314849.

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

Contrast with #313C49

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #313C49?

#313C49 is a intense blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #313C49?

#313C49 in RGB is (49, 60, 73) - 49 red, 60 green, and 73 blue.

How to use #313C49 in CSS?

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

What colors go well with #313C49?

#493E31 (complementary), #314849 (analogous), and #12161C (lighter shade) work well with #313C49.