#171CBA Color Information

Hex color code: #171CBA

The hex color #171CBA is a bold blue with RGB values of (23, 28, 186) and HSL of (238°, 78%, 41%). It is frequently seen in web interfaces.

Try:
Color NameNavy
HEX
#171CBA
RGB
23, 28, 186
HSL
238°, 78%, 41%
CMYK
88%, 85%, 0%, 27%

Shades

CSS Usage
color: #171CBA;
background-color: #171CBA;
border-color: #171CBA;
box-shadow: 0 0 10px #171CBA;
border: 2px solid #171CBA;
Tailwind Usage
bg-[#171CBA]
text-[#171CBA]
border-[#171CBA]
shadow-[0_0_10px_171CBA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #171CBA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #171CBA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #171CBA; 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 #171CBA; background-color: #171CBA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #171CBA20; border-left: 4px solid #171CBA; }

Link / Accent

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

a { color: #171CBA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #171CBA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

23, 28, 186

Red: 23 / Green: 28 / Blue: 186

HSL

238°, 78%, 41%

Hue: 238° / Saturation: 78% / Lightness: 41%

CMYK

88%, 85%, 0%, 27%

Cyan: 88% / Magenta: 85% / Yellow: 0% / Key: 27%

What color is #171CBA?

#171CBA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #171CBA to RGB:

rgb(23, 28, 186)HEX to RGB Converter →

HEX to HSL

Convert #171CBA to HSL:

hsl(238, 78%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #171CBA to CMYK:

cmyk(88%, 85%, 0%, 27%)Color Converter →

Color Meaning and Usage

#171CBA is a vivid blue color with RGB values of 23, 28, 186 and HSL of 238°, 78%, 41%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #171CBA is #BAB517, creating high-contrast pairings. For softer combinations, try analogous colors like #176EBA.

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

Contrast with #171CBA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #171CBA?

#171CBA is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #171CBA?

#171CBA in RGB is (23, 28, 186) - 23 red, 28 green, and 186 blue.

How to use #171CBA in CSS?

Use #171CBA directly in your CSS properties like color or background-color.

What colors go well with #171CBA?

#BAB517 (complementary), #176EBA (analogous), and #0F1276 (lighter shade) work well with #171CBA.