#30257C Color Information

Hex color code: #30257C

#30257C is a cool blue color. In RGB it is (48, 37, 124), and in HSL it is (248°, 54%, 32%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Blue
HEX
#30257C
RGB
48, 37, 124
HSL
248°, 54%, 32%
CMYK
61%, 70%, 0%, 51%

Shades

CSS Usage
color: #30257C;
background-color: #30257C;
border-color: #30257C;
box-shadow: 0 0 10px #30257C;
border: 2px solid #30257C;
Tailwind Usage
bg-[#30257C]
text-[#30257C]
border-[#30257C]
shadow-[0_0_10px_30257C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #30257C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #30257C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #30257C; 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 #30257C; background-color: #30257C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #30257C20; border-left: 4px solid #30257C; }

Link / Accent

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

a { color: #30257C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #30257C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 37, 124

Red: 48 / Green: 37 / Blue: 124

HSL

248°, 54%, 32%

Hue: 248° / Saturation: 54% / Lightness: 32%

CMYK

61%, 70%, 0%, 51%

Cyan: 61% / Magenta: 70% / Yellow: 0% / Key: 51%

What color is #30257C?

#30257C is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #30257C to RGB:

rgb(48, 37, 124)HEX to RGB Converter →

HEX to HSL

Convert #30257C to HSL:

hsl(248, 54%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #30257C to CMYK:

cmyk(61%, 70%, 0%, 51%)Color Converter →

Color Meaning and Usage

A serene blue tone, #30257C has RGB (48, 37, 124) and HSL (248°, 54%, 32%). Known for evoking creativity and luxury, this blue-purple hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #30257C is #727E26, creating high-contrast pairings. For softer combinations, try analogous colors like #26467E.

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

Contrast with #30257C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #30257C?

#30257C is a serene blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #30257C?

#30257C in RGB is (48, 37, 124) - 48 red, 37 green, and 124 blue.

How to use #30257C in CSS?

Use #30257C directly in your CSS properties like color or background-color.

What colors go well with #30257C?

#727E26 (complementary), #26467E (analogous), and #1A1443 (lighter shade) work well with #30257C.