#172FBA Color Information

Hex color code: #172FBA

#172FBA is a dynamic blue color. In RGB it is (23, 47, 186), and in HSL it is (231°, 78%, 41%). It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#172FBA
RGB
23, 47, 186
HSL
231°, 78%, 41%
CMYK
88%, 75%, 0%, 27%

Shades

CSS Usage
color: #172FBA;
background-color: #172FBA;
border-color: #172FBA;
box-shadow: 0 0 10px #172FBA;
border: 2px solid #172FBA;
Tailwind Usage
bg-[#172FBA]
text-[#172FBA]
border-[#172FBA]
shadow-[0_0_10px_172FBA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #172FBA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #172FBA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #172FBA; 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 #172FBA; background-color: #172FBA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #172FBA20; border-left: 4px solid #172FBA; }

Link / Accent

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

a { color: #172FBA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #172FBA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

23, 47, 186

Red: 23 / Green: 47 / Blue: 186

HSL

231°, 78%, 41%

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

CMYK

88%, 75%, 0%, 27%

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

What color is #172FBA?

#172FBA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #172FBA to RGB:

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

HEX to HSL

Convert #172FBA to HSL:

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

HEX to CMYK

Convert #172FBA to CMYK:

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

Color Meaning and Usage

#172FBA is a striking blue color with RGB values of 23, 47, 186 and HSL of 231°, 78%, 41%. 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 #172FBA is #BAA217, creating high-contrast pairings. For softer combinations, try analogous colors like #1781BA.

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

Contrast with #172FBA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #172FBA?

#172FBA is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #172FBA?

#172FBA in RGB is (23, 47, 186) - 23 red, 47 green, and 186 blue.

How to use #172FBA in CSS?

Use #172FBA directly in your CSS properties like color or background-color.

What colors go well with #172FBA?

#BAA217 (complementary), #1781BA (analogous), and #0F1E76 (lighter shade) work well with #172FBA.