#301FB2 Color Information

Hex color code: #301FB2

A serene blue shade, #301FB2 appears as (48, 31, 178) in RGB and (247°, 70%, 41%) in HSL. It is popular in mobile app design.

Try:
Color NameDark Slate Blue
HEX
#301FB2
RGB
48, 31, 178
HSL
247°, 70%, 41%
CMYK
73%, 83%, 0%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #301FB2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 31, 178

Red: 48 / Green: 31 / Blue: 178

HSL

247°, 70%, 41%

Hue: 247° / Saturation: 70% / Lightness: 41%

CMYK

73%, 83%, 0%, 30%

Cyan: 73% / Magenta: 83% / Yellow: 0% / Key: 30%

What color is #301FB2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #301FB2 to RGB:

rgb(48, 31, 178)HEX to RGB Converter →

HEX to HSL

Convert #301FB2 to HSL:

hsl(247, 70%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #301FB2 to CMYK:

cmyk(73%, 83%, 0%, 30%)Color Converter →

Color Meaning and Usage

A calming blue tone, #301FB2 has RGB (48, 31, 178) and HSL (247°, 70%, 41%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #301FB2 is #A1B21F, creating high-contrast pairings. For softer combinations, try analogous colors like #1F57B2.

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

Contrast with #301FB2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #301FB2?

#301FB2 is a calming blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #301FB2?

#301FB2 in RGB is (48, 31, 178) - 48 red, 31 green, and 178 blue.

How to use #301FB2 in CSS?

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

What colors go well with #301FB2?

#A1B21F (complementary), #1F57B2 (analogous), and #1F1471 (lighter shade) work well with #301FB2.