HTML color code #2871A2

Color name: None
RGB: 40, 113, 162
HSL: 204.10deg, 60.40%, 39.61%
Web safe color: No

RGB complementary color:

A complementary color for this color is #A35A29.

Example text color using #2871A2

This text is placeholder text to give you an idea of how this color looks when used as a font color on a white background. The following sentence uses every English character: The quick brown fox jumps over the lazy dog. 0123456789 Bold text. Italic text. With Underline.

                    

This text is placeholder text to give you an idea of how this color looks when used as a font color on a black background. The following sentence uses every English character: The quick brown fox jumps over the lazy dog. 0123456789 Bold text. Italic text. With Underline.

                    

HTML examples

<p style="color:#2871A2;">Your text using HTML color code.</p>
<p style="color:rgb(40 113 162);">Your text using RGB color values.</p>
<p style="color:hsl(204.10deg 60.40% 39.61%);">Your text using HSL color values.</p>

CSS code examples

<style> p { color:#2871A2; } </style>
<style> p { color:rgb(40 113 162); } </style>
<style> p { color:hsl(204.10deg 60.40% 39.61%); } </style>

Lighter colors

#327BAC
#3C85B6
#468FC0
#5099CA
#5AA3D4
#64ADDE
#6EB7E8
#78C1F2

Darker colors

#1E6798
#145D8E
#0A5384
#00497A
#003F70
#003566
#002B5C
#002152

Analogous colors

#295EA3
#2949A3
#2935A3
#3129A3
#4529A3
#5A29A3
#6E29A3
#8329A3

Trinary colors

#2871A2
#A32972
#72A329

Adjacent colors

#040720
#0C090A
#34282C
#3B3131
#3A3B3C
#454545
#4D4D4F
#413839
Tip

Enter any HTML color code into our search to get results like this page.

Computer Hope - HTML color codes - Top 100 color codes