#31486D Color Information

Hex color code: #31486D

A pastel blue shade, #31486D appears as (49, 72, 109) in RGB and (217°, 38%, 31%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#31486D
RGB
49, 72, 109
HSL
217°, 38%, 31%
CMYK
55%, 34%, 0%, 57%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #31486D; 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 #31486D; background-color: #31486D15; }

Alert / Toast

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

Link / Accent

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

a { color: #31486D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #31486D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 72, 109

Red: 49 / Green: 72 / Blue: 109

HSL

217°, 38%, 31%

Hue: 217° / Saturation: 38% / Lightness: 31%

CMYK

55%, 34%, 0%, 57%

Cyan: 55% / Magenta: 34% / Yellow: 0% / Key: 57%

What color is #31486D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #31486D to RGB:

rgb(49, 72, 109)HEX to RGB Converter →

HEX to HSL

Convert #31486D to HSL:

hsl(217, 38%, 31%)RGB to HSL Converter →

HEX to CMYK

Convert #31486D to CMYK:

cmyk(55%, 34%, 0%, 57%)Color Converter →

Color Meaning and Usage

A delicate blue tone, #31486D has RGB (49, 72, 109) and HSL (217°, 38%, 31%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #31486D is #6D5631, creating high-contrast pairings. For softer combinations, try analogous colors like #31666D.

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

Contrast with #31486D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #31486D?

#31486D is a delicate blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #31486D?

#31486D in RGB is (49, 72, 109) - 49 red, 72 green, and 109 blue.

How to use #31486D in CSS?

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

What colors go well with #31486D?

#6D5631 (complementary), #31666D (analogous), and #192538 (lighter shade) work well with #31486D.