#162DB1 Color Information

Hex color code: #162DB1

#162DB1 is a bold blue color. In RGB it is (22, 45, 177), and in HSL it is (231°, 78%, 39%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#162DB1
RGB
22, 45, 177
HSL
231°, 78%, 39%
CMYK
88%, 75%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #162DB1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

22, 45, 177

Red: 22 / Green: 45 / Blue: 177

HSL

231°, 78%, 39%

Hue: 231° / Saturation: 78% / Lightness: 39%

CMYK

88%, 75%, 0%, 31%

Cyan: 88% / Magenta: 75% / Yellow: 0% / Key: 31%

What color is #162DB1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #162DB1 to RGB:

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

HEX to HSL

Convert #162DB1 to HSL:

hsl(231, 78%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #162DB1 to CMYK:

cmyk(88%, 75%, 0%, 31%)Color Converter →

Color Meaning and Usage

#162DB1 is a dynamic blue color with RGB values of 22, 45, 177 and HSL of 231°, 78%, 39%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #162DB1 is #B19A16, creating high-contrast pairings. For softer combinations, try analogous colors like #167BB1.

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

Contrast with #162DB1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #162DB1?

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

What is the RGB value of #162DB1?

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

How to use #162DB1 in CSS?

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

What colors go well with #162DB1?

#B19A16 (complementary), #167BB1 (analogous), and #0D1C6D (lighter shade) work well with #162DB1.