#18166A Color Information

Hex color code: #18166A

A serene blue shade, #18166A appears as (24, 22, 106) in RGB and (241°, 66%, 25%) in HSL. It is often used for branding and logos.

Try:
Color NameNavy
HEX
#18166A
RGB
24, 22, 106
HSL
241°, 66%, 25%
CMYK
77%, 79%, 0%, 58%

Shades

CSS Usage
color: #18166A;
background-color: #18166A;
border-color: #18166A;
box-shadow: 0 0 10px #18166A;
border: 2px solid #18166A;
Tailwind Usage
bg-[#18166A]
text-[#18166A]
border-[#18166A]
shadow-[0_0_10px_18166A]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #18166A, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #18166A; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #18166A; 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 #18166A; background-color: #18166A15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #18166A20; border-left: 4px solid #18166A; }

Link / Accent

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

a { color: #18166A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #18166A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

24, 22, 106

Red: 24 / Green: 22 / Blue: 106

HSL

241°, 66%, 25%

Hue: 241° / Saturation: 66% / Lightness: 25%

CMYK

77%, 79%, 0%, 58%

Cyan: 77% / Magenta: 79% / Yellow: 0% / Key: 58%

What color is #18166A?

#18166A is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #18166A to RGB:

rgb(24, 22, 106)HEX to RGB Converter →

HEX to HSL

Convert #18166A to HSL:

hsl(241, 66%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #18166A to CMYK:

cmyk(77%, 79%, 0%, 58%)Color Converter →

Color Meaning and Usage

A tranquil blue tone, #18166A has RGB (24, 22, 106) and HSL (241°, 66%, 25%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #18166A is #686A16, creating high-contrast pairings. For softer combinations, try analogous colors like #163E6A.

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

Contrast with #18166A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #18166A?

#18166A is a tranquil blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #18166A?

#18166A in RGB is (24, 22, 106) - 24 red, 22 green, and 106 blue.

How to use #18166A in CSS?

Use #18166A directly in your CSS properties like color or background-color.

What colors go well with #18166A?

#686A16 (complementary), #163E6A (analogous), and #09092A (lighter shade) work well with #18166A.