#3038DF Color Information

Hex color code: #3038DF

The hex color #3038DF is a vivid blue with RGB values of (48, 56, 223) and HSL of (237°, 73%, 53%). It is commonly used in modern UI design.

Try:
Color NameRoyal Blue
HEX
#3038DF
RGB
48, 56, 223
HSL
237°, 73%, 53%
CMYK
78%, 75%, 0%, 13%

Shades

CSS Usage
color: #3038DF;
background-color: #3038DF;
border-color: #3038DF;
box-shadow: 0 0 10px #3038DF;
border: 2px solid #3038DF;
Tailwind Usage
bg-[#3038DF]
text-[#3038DF]
border-[#3038DF]
shadow-[0_0_10px_3038DF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #3038DF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #3038DF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #3038DF; 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 #3038DF; background-color: #3038DF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #3038DF20; border-left: 4px solid #3038DF; }

Link / Accent

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

a { color: #3038DF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #3038DF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 56, 223

Red: 48 / Green: 56 / Blue: 223

HSL

237°, 73%, 53%

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

CMYK

78%, 75%, 0%, 13%

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

What color is #3038DF?

#3038DF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3038DF to RGB:

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

HEX to HSL

Convert #3038DF to HSL:

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

HEX to CMYK

Convert #3038DF to CMYK:

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

Color Meaning and Usage

A striking blue tone, #3038DF has RGB (48, 56, 223) and HSL (237°, 73%, 53%). Known for evoking creativity and luxury, this blue-purple hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #3038DF is #DFD630, creating high-contrast pairings. For softer combinations, try analogous colors like #3090DF.

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

Contrast with #3038DF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3038DF?

#3038DF is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #3038DF?

#3038DF in RGB is (48, 56, 223) - 48 red, 56 green, and 223 blue.

How to use #3038DF in CSS?

Use #3038DF directly in your CSS properties like color or background-color.

What colors go well with #3038DF?

#DFD630 (complementary), #3090DF (analogous), and #1A21A8 (lighter shade) work well with #3038DF.