#304682 Color Information

Hex color code: #304682

A subtle blue shade, #304682 appears as (48, 70, 130) in RGB and (224°, 46%, 35%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#304682
RGB
48, 70, 130
HSL
224°, 46%, 35%
CMYK
63%, 46%, 0%, 49%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #304682; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 70, 130

Red: 48 / Green: 70 / Blue: 130

HSL

224°, 46%, 35%

Hue: 224° / Saturation: 46% / Lightness: 35%

CMYK

63%, 46%, 0%, 49%

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

What color is #304682?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #304682 to RGB:

rgb(48, 70, 130)HEX to RGB Converter →

HEX to HSL

Convert #304682 to HSL:

hsl(224, 46%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #304682 to CMYK:

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

Color Meaning and Usage

A gentle blue tone, #304682 has RGB (48, 70, 130) and HSL (224°, 46%, 35%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #304682 is #826C30, creating high-contrast pairings. For softer combinations, try analogous colors like #306F82.

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

Contrast with #304682

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #304682?

#304682 is a gentle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #304682?

#304682 in RGB is (48, 70, 130) - 48 red, 70 green, and 130 blue.

How to use #304682 in CSS?

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

What colors go well with #304682?

#826C30 (complementary), #306F82 (analogous), and #1C284A (lighter shade) work well with #304682.