#304050 Color Information

Hex color code: #304050

A subtle blue shade, #304050 appears as (48, 64, 80) in RGB and (210°, 25%, 25%) in HSL. It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#304050
RGB
48, 64, 80
HSL
210°, 25%, 25%
CMYK
40%, 20%, 0%, 69%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #304050; 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 #304050; background-color: #30405015; }

Alert / Toast

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

Link / Accent

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

a { color: #304050; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #304050 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 64, 80

Red: 48 / Green: 64 / Blue: 80

HSL

210°, 25%, 25%

Hue: 210° / Saturation: 25% / Lightness: 25%

CMYK

40%, 20%, 0%, 69%

Cyan: 40% / Magenta: 20% / Yellow: 0% / Key: 69%

What color is #304050?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #304050 to RGB:

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

HEX to HSL

Convert #304050 to HSL:

hsl(210, 25%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #304050 to CMYK:

cmyk(40%, 20%, 0%, 69%)Color Converter →

Color Meaning and Usage

A delicate blue tone, #304050 has RGB (48, 64, 80) and HSL (210°, 25%, 25%). Known for evoking creativity and luxury, this blue-purple hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #304050 is #504030, creating high-contrast pairings. For softer combinations, try analogous colors like #305050.

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

Contrast with #304050

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #304050?

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

What is the RGB value of #304050?

#304050 in RGB is (48, 64, 80) - 48 red, 64 green, and 80 blue.

How to use #304050 in CSS?

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

What colors go well with #304050?

#504030 (complementary), #305050 (analogous), and #131A20 (lighter shade) work well with #304050.