#313149 Color Information

Hex color code: #313149

#313149 is a dramatic blue color. In RGB it is (49, 49, 73), and in HSL it is (240°, 20%, 24%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#313149
RGB
49, 49, 73
HSL
240°, 20%, 24%
CMYK
33%, 33%, 0%, 71%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #313149; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 49, 73

Red: 49 / Green: 49 / Blue: 73

HSL

240°, 20%, 24%

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

CMYK

33%, 33%, 0%, 71%

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

What color is #313149?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #313149 to RGB:

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

HEX to HSL

Convert #313149 to HSL:

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

HEX to CMYK

Convert #313149 to CMYK:

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

Color Meaning and Usage

#313149 is a deep blue color with RGB values of 49, 49, 73 and HSL of 240°, 20%, 24%. This blue-purple hue evokes creativity and luxury, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #313149 is #494931, creating high-contrast pairings. For softer combinations, try analogous colors like #313D49.

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

Contrast with #313149

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #313149?

#313149 is a deep blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #313149?

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

How to use #313149 in CSS?

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

What colors go well with #313149?

#494931 (complementary), #313D49 (analogous), and #12121C (lighter shade) work well with #313149.