#24305B Color Information

Hex color code: #24305B

#24305B is a pastel blue color. In RGB it is (36, 48, 91), and in HSL it is (227°, 43%, 25%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#24305B
RGB
36, 48, 91
HSL
227°, 43%, 25%
CMYK
60%, 47%, 0%, 64%

Shades

CSS Usage
color: #24305B;
background-color: #24305B;
border-color: #24305B;
box-shadow: 0 0 10px #24305B;
border: 2px solid #24305B;
Tailwind Usage
bg-[#24305B]
text-[#24305B]
border-[#24305B]
shadow-[0_0_10px_24305B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #24305B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #24305B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #24305B; 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 #24305B; background-color: #24305B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #24305B20; border-left: 4px solid #24305B; }

Link / Accent

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

a { color: #24305B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #24305B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

36, 48, 91

Red: 36 / Green: 48 / Blue: 91

HSL

227°, 43%, 25%

Hue: 227° / Saturation: 43% / Lightness: 25%

CMYK

60%, 47%, 0%, 64%

Cyan: 60% / Magenta: 47% / Yellow: 0% / Key: 64%

What color is #24305B?

#24305B is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #24305B to RGB:

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

HEX to HSL

Convert #24305B to HSL:

hsl(227, 43%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #24305B to CMYK:

cmyk(60%, 47%, 0%, 64%)Color Converter →

Color Meaning and Usage

A subtle blue tone, #24305B has RGB (36, 48, 91) and HSL (227°, 43%, 25%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #24305B is #5B4F24, creating high-contrast pairings. For softer combinations, try analogous colors like #244C5B.

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

Contrast with #24305B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #24305B?

#24305B is a subtle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #24305B?

#24305B in RGB is (36, 48, 91) - 36 red, 48 green, and 91 blue.

How to use #24305B in CSS?

Use #24305B directly in your CSS properties like color or background-color.

What colors go well with #24305B?

#5B4F24 (complementary), #244C5B (analogous), and #0F1324 (lighter shade) work well with #24305B.