#305BDF Color Information

Hex color code: #305BDF

The hex color #305BDF is a striking blue with RGB values of (48, 91, 223) and HSL of (225°, 73%, 53%). It is popular in mobile app design.

Try:
Color NameRoyal Blue
HEX
#305BDF
RGB
48, 91, 223
HSL
225°, 73%, 53%
CMYK
78%, 59%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #305BDF; 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 #305BDF; background-color: #305BDF15; }

Alert / Toast

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

Link / Accent

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

a { color: #305BDF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #305BDF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 91, 223

Red: 48 / Green: 91 / Blue: 223

HSL

225°, 73%, 53%

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

CMYK

78%, 59%, 0%, 13%

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

What color is #305BDF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #305BDF to RGB:

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

HEX to HSL

Convert #305BDF to HSL:

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

HEX to CMYK

Convert #305BDF to CMYK:

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

Color Meaning and Usage

A bold blue tone, #305BDF has RGB (48, 91, 223) and HSL (225°, 73%, 53%). Known for evoking creativity and luxury, this blue-purple hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #305BDF is #DFB330, creating high-contrast pairings. For softer combinations, try analogous colors like #30B3DF.

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

Contrast with #305BDF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #305BDF?

#305BDF is a bold blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #305BDF?

#305BDF in RGB is (48, 91, 223) - 48 red, 91 green, and 223 blue.

How to use #305BDF in CSS?

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

What colors go well with #305BDF?

#DFB330 (complementary), #30B3DF (analogous), and #1A3EA8 (lighter shade) work well with #305BDF.