#31356D Color Information

Hex color code: #31356D

The hex color #31356D is a subtle blue with RGB values of (49, 53, 109) and HSL of (236°, 38%, 31%). It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#31356D
RGB
49, 53, 109
HSL
236°, 38%, 31%
CMYK
55%, 51%, 0%, 57%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #31356D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 53, 109

Red: 49 / Green: 53 / Blue: 109

HSL

236°, 38%, 31%

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

CMYK

55%, 51%, 0%, 57%

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

What color is #31356D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #31356D to RGB:

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

HEX to HSL

Convert #31356D to HSL:

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

HEX to CMYK

Convert #31356D to CMYK:

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

Color Meaning and Usage

#31356D is a delicate blue color with RGB values of 49, 53, 109 and HSL of 236°, 38%, 31%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #31356D is #6D6931, creating high-contrast pairings. For softer combinations, try analogous colors like #31536D.

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

Contrast with #31356D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #31356D?

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

What is the RGB value of #31356D?

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

How to use #31356D in CSS?

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

What colors go well with #31356D?

#6D6931 (complementary), #31536D (analogous), and #191B38 (lighter shade) work well with #31356D.