#304ADF Color Information

Hex color code: #304ADF

A dynamic blue shade, #304ADF appears as (48, 74, 223) in RGB and (231°, 73%, 53%) in HSL. It is typically applied in digital products.

Try:
Color NameRoyal Blue
HEX
#304ADF
RGB
48, 74, 223
HSL
231°, 73%, 53%
CMYK
78%, 67%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #304ADF; 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 #304ADF; background-color: #304ADF15; }

Alert / Toast

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

Link / Accent

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

a { color: #304ADF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #304ADF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 74, 223

Red: 48 / Green: 74 / Blue: 223

HSL

231°, 73%, 53%

Hue: 231° / Saturation: 73% / Lightness: 53%

CMYK

78%, 67%, 0%, 13%

Cyan: 78% / Magenta: 67% / Yellow: 0% / Key: 13%

What color is #304ADF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #304ADF to RGB:

rgb(48, 74, 223)HEX to RGB Converter →

HEX to HSL

Convert #304ADF to HSL:

hsl(231, 73%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #304ADF to CMYK:

cmyk(78%, 67%, 0%, 13%)Color Converter →

Color Meaning and Usage

#304ADF is a vivid blue color with RGB values of 48, 74, 223 and HSL of 231°, 73%, 53%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #304ADF is #DFC430, creating high-contrast pairings. For softer combinations, try analogous colors like #30A1DF.

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

Contrast with #304ADF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #304ADF?

#304ADF is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #304ADF?

#304ADF in RGB is (48, 74, 223) - 48 red, 74 green, and 223 blue.

How to use #304ADF in CSS?

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

What colors go well with #304ADF?

#DFC430 (complementary), #30A1DF (analogous), and #1A2FA8 (lighter shade) work well with #304ADF.