#30405F Color Information

Hex color code: #30405F

The hex color #30405F is a soft blue with RGB values of (48, 64, 95) and HSL of (220°, 33%, 28%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#30405F
RGB
48, 64, 95
HSL
220°, 33%, 28%
CMYK
49%, 33%, 0%, 63%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #30405F; 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 #30405F; background-color: #30405F15; }

Alert / Toast

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

Link / Accent

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

a { color: #30405F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #30405F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 64, 95

Red: 48 / Green: 64 / Blue: 95

HSL

220°, 33%, 28%

Hue: 220° / Saturation: 33% / Lightness: 28%

CMYK

49%, 33%, 0%, 63%

Cyan: 49% / Magenta: 33% / Yellow: 0% / Key: 63%

What color is #30405F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #30405F to RGB:

rgb(48, 64, 95)HEX to RGB Converter →

HEX to HSL

Convert #30405F to HSL:

hsl(220, 33%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #30405F to CMYK:

cmyk(49%, 33%, 0%, 63%)Color Converter →

Color Meaning and Usage

#30405F is a subtle blue color with RGB values of 48, 64, 95 and HSL of 220°, 33%, 28%. 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 #30405F is #5F4F30, creating high-contrast pairings. For softer combinations, try analogous colors like #30575F.

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

Contrast with #30405F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #30405F?

#30405F is a subtle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #30405F?

#30405F in RGB is (48, 64, 95) - 48 red, 64 green, and 95 blue.

How to use #30405F in CSS?

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

What colors go well with #30405F?

#5F4F30 (complementary), #30575F (analogous), and #161E2C (lighter shade) work well with #30405F.