#18247B Color Information

Hex color code: #18247B

The hex color #18247B is a peaceful blue with RGB values of (24, 36, 123) and HSL of (233°, 67%, 29%). It is typically applied in digital products.

Try:
Color NameNavy
HEX
#18247B
RGB
24, 36, 123
HSL
233°, 67%, 29%
CMYK
80%, 71%, 0%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #18247B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

24, 36, 123

Red: 24 / Green: 36 / Blue: 123

HSL

233°, 67%, 29%

Hue: 233° / Saturation: 67% / Lightness: 29%

CMYK

80%, 71%, 0%, 52%

Cyan: 80% / Magenta: 71% / Yellow: 0% / Key: 52%

What color is #18247B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #18247B to RGB:

rgb(24, 36, 123)HEX to RGB Converter →

HEX to HSL

Convert #18247B to HSL:

hsl(233, 67%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #18247B to CMYK:

cmyk(80%, 71%, 0%, 52%)Color Converter →

Color Meaning and Usage

A cool blue tone, #18247B has RGB (24, 36, 123) and HSL (233°, 67%, 29%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #18247B is #7B7018, creating high-contrast pairings. For softer combinations, try analogous colors like #18567B.

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

Contrast with #18247B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #18247B?

#18247B is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #18247B?

#18247B in RGB is (24, 36, 123) - 24 red, 36 green, and 123 blue.

How to use #18247B in CSS?

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

What colors go well with #18247B?

#7B7018 (complementary), #18567B (analogous), and #0C113C (lighter shade) work well with #18247B.