#301DD7 Color Information

Hex color code: #301DD7

#301DD7 is a eye-catching blue color. In RGB it is (48, 29, 215), and in HSL it is (246°, 76%, 48%). It is widely used in graphic design.

Try:
Color NameBlue
HEX
#301DD7
RGB
48, 29, 215
HSL
246°, 76%, 48%
CMYK
78%, 87%, 0%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #301DD7; 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 #301DD7; background-color: #301DD715; }

Alert / Toast

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

Link / Accent

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

a { color: #301DD7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #301DD7 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 29, 215

Red: 48 / Green: 29 / Blue: 215

HSL

246°, 76%, 48%

Hue: 246° / Saturation: 76% / Lightness: 48%

CMYK

78%, 87%, 0%, 16%

Cyan: 78% / Magenta: 87% / Yellow: 0% / Key: 16%

What color is #301DD7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #301DD7 to RGB:

rgb(48, 29, 215)HEX to RGB Converter →

HEX to HSL

Convert #301DD7 to HSL:

hsl(246, 76%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #301DD7 to CMYK:

cmyk(78%, 87%, 0%, 16%)Color Converter →

Color Meaning and Usage

A dynamic blue tone, #301DD7 has RGB (48, 29, 215) and HSL (246°, 76%, 48%). 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 #301DD7 is #C5D71D, creating high-contrast pairings. For softer combinations, try analogous colors like #1D68D7.

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

Contrast with #301DD7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #301DD7?

#301DD7 is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #301DD7?

#301DD7 in RGB is (48, 29, 215) - 48 red, 29 green, and 215 blue.

How to use #301DD7 in CSS?

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

What colors go well with #301DD7?

#C5D71D (complementary), #1D68D7 (analogous), and #211494 (lighter shade) work well with #301DD7.