#18145C Color Information

Hex color code: #18145C

A rich blue shade, #18145C appears as (24, 20, 92) in RGB and (243°, 64%, 22%) in HSL. It is often used for branding and logos.

Try:
Color NameNavy
HEX
#18145C
RGB
24, 20, 92
HSL
243°, 64%, 22%
CMYK
74%, 78%, 0%, 64%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #18145C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

24, 20, 92

Red: 24 / Green: 20 / Blue: 92

HSL

243°, 64%, 22%

Hue: 243° / Saturation: 64% / Lightness: 22%

CMYK

74%, 78%, 0%, 64%

Cyan: 74% / Magenta: 78% / Yellow: 0% / Key: 64%

What color is #18145C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #18145C to RGB:

rgb(24, 20, 92)HEX to RGB Converter →

HEX to HSL

Convert #18145C to HSL:

hsl(243, 64%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #18145C to CMYK:

cmyk(74%, 78%, 0%, 64%)Color Converter →

Color Meaning and Usage

A dramatic blue tone, #18145C has RGB (24, 20, 92) and HSL (243°, 64%, 22%). Known for evoking creativity and luxury, this blue-purple hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #18145C is #585C14, creating high-contrast pairings. For softer combinations, try analogous colors like #14355C.

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

Contrast with #18145C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #18145C?

#18145C is a dramatic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #18145C?

#18145C in RGB is (24, 20, 92) - 24 red, 20 green, and 92 blue.

How to use #18145C in CSS?

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

What colors go well with #18145C?

#585C14 (complementary), #14355C (analogous), and #08061D (lighter shade) work well with #18145C.