#2E313D Color Information

Hex color code: #2E313D

The hex color #2E313D is a dark blue with RGB values of (46, 49, 61) and HSL of (228°, 14%, 21%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#2E313D
RGB
46, 49, 61
HSL
228°, 14%, 21%
CMYK
25%, 20%, 0%, 76%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #2E313D; 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 #2E313D; background-color: #2E313D15; }

Alert / Toast

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

Link / Accent

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

a { color: #2E313D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2E313D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

46, 49, 61

Red: 46 / Green: 49 / Blue: 61

HSL

228°, 14%, 21%

Hue: 228° / Saturation: 14% / Lightness: 21%

CMYK

25%, 20%, 0%, 76%

Cyan: 25% / Magenta: 20% / Yellow: 0% / Key: 76%

What color is #2E313D?

#2E313D is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2E313D to RGB:

rgb(46, 49, 61)HEX to RGB Converter →

HEX to HSL

Convert #2E313D to HSL:

hsl(228, 14%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #2E313D to CMYK:

cmyk(25%, 20%, 0%, 76%)Color Converter →

Color Meaning and Usage

#2E313D is a dark blue color with RGB values of 46, 49, 61 and HSL of 228°, 14%, 21%. This desaturated neutral evokes balance and subtlety, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2E313D is #3D3A2E, creating high-contrast pairings. For softer combinations, try analogous colors like #2E393D.

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

Contrast with #2E313D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2E313D?

#2E313D is a dark blue color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #2E313D?

#2E313D in RGB is (46, 49, 61) - 46 red, 49 green, and 61 blue.

How to use #2E313D in CSS?

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

What colors go well with #2E313D?

#3D3A2E (complementary), #2E393D (analogous), and #0D0E11 (lighter shade) work well with #2E313D.