#301AFF Color Information

Hex color code: #301AFF

A vivid blue shade, #301AFF appears as (48, 26, 255) in RGB and (246°, 100%, 55%) in HSL. It is commonly used in modern UI design.

Try:
Color NameBlue
HEX
#301AFF
RGB
48, 26, 255
HSL
246°, 100%, 55%
CMYK
81%, 90%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #301AFF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 26, 255

Red: 48 / Green: 26 / Blue: 255

HSL

246°, 100%, 55%

Hue: 246° / Saturation: 100% / Lightness: 55%

CMYK

81%, 90%, 0%, 0%

Cyan: 81% / Magenta: 90% / Yellow: 0% / Key: 0%

What color is #301AFF?

#301AFF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #301AFF to RGB:

rgb(48, 26, 255)HEX to RGB Converter →

HEX to HSL

Convert #301AFF to HSL:

hsl(246, 100%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #301AFF to CMYK:

cmyk(81%, 90%, 0%, 0%)Color Converter →

Color Meaning and Usage

#301AFF is a striking blue color with RGB values of 48, 26, 255 and HSL of 246°, 100%, 55%. This highly saturated hue evokes energy and excitement, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #301AFF is #E8FF1A, creating high-contrast pairings. For softer combinations, try analogous colors like #1A75FF.

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

Contrast with #301AFF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #301AFF?

#301AFF is a striking blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #301AFF?

#301AFF in RGB is (48, 26, 255) - 48 red, 26 green, and 255 blue.

How to use #301AFF in CSS?

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

What colors go well with #301AFF?

#E8FF1A (complementary), #1A75FF (analogous), and #1400CC (lighter shade) work well with #301AFF.