#1822AF Color Information

Hex color code: #1822AF

#1822AF is a vivid blue color. In RGB it is (24, 34, 175), and in HSL it is (236°, 76%, 39%). It is commonly used in modern UI design.

Try:
Color NameNavy
HEX
#1822AF
RGB
24, 34, 175
HSL
236°, 76%, 39%
CMYK
86%, 81%, 0%, 31%

Shades

CSS Usage
color: #1822AF;
background-color: #1822AF;
border-color: #1822AF;
box-shadow: 0 0 10px #1822AF;
border: 2px solid #1822AF;
Tailwind Usage
bg-[#1822AF]
text-[#1822AF]
border-[#1822AF]
shadow-[0_0_10px_1822AF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1822AF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1822AF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #1822AF; 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 #1822AF; background-color: #1822AF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1822AF20; border-left: 4px solid #1822AF; }

Link / Accent

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

a { color: #1822AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1822AF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

24, 34, 175

Red: 24 / Green: 34 / Blue: 175

HSL

236°, 76%, 39%

Hue: 236° / Saturation: 76% / Lightness: 39%

CMYK

86%, 81%, 0%, 31%

Cyan: 86% / Magenta: 81% / Yellow: 0% / Key: 31%

What color is #1822AF?

#1822AF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1822AF to RGB:

rgb(24, 34, 175)HEX to RGB Converter →

HEX to HSL

Convert #1822AF to HSL:

hsl(236, 76%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #1822AF to CMYK:

cmyk(86%, 81%, 0%, 31%)Color Converter →

Color Meaning and Usage

A bold blue tone, #1822AF has RGB (24, 34, 175) and HSL (236°, 76%, 39%). 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 #1822AF is #AFA518, creating high-contrast pairings. For softer combinations, try analogous colors like #186EAF.

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

Contrast with #1822AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1822AF?

#1822AF is a bold blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #1822AF?

#1822AF in RGB is (24, 34, 175) - 24 red, 34 green, and 175 blue.

How to use #1822AF in CSS?

Use #1822AF directly in your CSS properties like color or background-color.

What colors go well with #1822AF?

#AFA518 (complementary), #186EAF (analogous), and #0F156C (lighter shade) work well with #1822AF.