#302D3D Color Information

Hex color code: #302D3D

The hex color #302D3D is a dramatic blue with RGB values of (48, 45, 61) and HSL of (251°, 15%, 21%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#302D3D
RGB
48, 45, 61
HSL
251°, 15%, 21%
CMYK
21%, 26%, 0%, 76%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #302D3D; 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 #302D3D; background-color: #302D3D15; }

Alert / Toast

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

Link / Accent

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

a { color: #302D3D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #302D3D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 45, 61

Red: 48 / Green: 45 / Blue: 61

HSL

251°, 15%, 21%

Hue: 251° / Saturation: 15% / Lightness: 21%

CMYK

21%, 26%, 0%, 76%

Cyan: 21% / Magenta: 26% / Yellow: 0% / Key: 76%

What color is #302D3D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #302D3D to RGB:

rgb(48, 45, 61)HEX to RGB Converter →

HEX to HSL

Convert #302D3D to HSL:

hsl(251, 15%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #302D3D to CMYK:

cmyk(21%, 26%, 0%, 76%)Color Converter →

Color Meaning and Usage

#302D3D is a dramatic blue color with RGB values of 48, 45, 61 and HSL of 251°, 15%, 21%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #302D3D is #3B3E2E, creating high-contrast pairings. For softer combinations, try analogous colors like #2E333E.

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

Contrast with #302D3D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #302D3D?

#302D3D is a dramatic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #302D3D?

#302D3D in RGB is (48, 45, 61) - 48 red, 45 green, and 61 blue.

How to use #302D3D in CSS?

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

What colors go well with #302D3D?

#3B3E2E (complementary), #2E333E (analogous), and #0E0D12 (lighter shade) work well with #302D3D.