#162DAC Color Information

Hex color code: #162DAC

A dynamic blue shade, #162DAC appears as (22, 45, 172) in RGB and (231°, 77%, 38%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#162DAC
RGB
22, 45, 172
HSL
231°, 77%, 38%
CMYK
87%, 74%, 0%, 33%

Shades

CSS Usage
color: #162DAC;
background-color: #162DAC;
border-color: #162DAC;
box-shadow: 0 0 10px #162DAC;
border: 2px solid #162DAC;
Tailwind Usage
bg-[#162DAC]
text-[#162DAC]
border-[#162DAC]
shadow-[0_0_10px_162DAC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #162DAC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #162DAC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #162DAC; 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 #162DAC; background-color: #162DAC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #162DAC20; border-left: 4px solid #162DAC; }

Link / Accent

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

a { color: #162DAC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #162DAC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

22, 45, 172

Red: 22 / Green: 45 / Blue: 172

HSL

231°, 77%, 38%

Hue: 231° / Saturation: 77% / Lightness: 38%

CMYK

87%, 74%, 0%, 33%

Cyan: 87% / Magenta: 74% / Yellow: 0% / Key: 33%

What color is #162DAC?

#162DAC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #162DAC to RGB:

rgb(22, 45, 172)HEX to RGB Converter →

HEX to HSL

Convert #162DAC to HSL:

hsl(231, 77%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #162DAC to CMYK:

cmyk(87%, 74%, 0%, 33%)Color Converter →

Color Meaning and Usage

A dynamic blue tone, #162DAC has RGB (22, 45, 172) and HSL (231°, 77%, 38%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #162DAC is #AC9516, creating high-contrast pairings. For softer combinations, try analogous colors like #1677AC.

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

Contrast with #162DAC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #162DAC?

#162DAC is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #162DAC?

#162DAC in RGB is (22, 45, 172) - 22 red, 45 green, and 172 blue.

How to use #162DAC in CSS?

Use #162DAC directly in your CSS properties like color or background-color.

What colors go well with #162DAC?

#AC9516 (complementary), #1677AC (analogous), and #0D1B68 (lighter shade) work well with #162DAC.