HTML color code #2871A8

Color name: None
RGB: 40, 113, 168
HSL: 205.78deg, 61.54%, 40.78%
Web safe color: No

RGB complementary color:

A complementary color for this color is #A86028.

Example text color using #2871A8

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:#2871A8;">Your text using HTML color code.</p>
<p style="color:rgb(40 113 168);">Your text using RGB color values.</p>
<p style="color:hsl(205.78deg 61.54% 40.78%);">Your text using HSL color values.</p>

CSS code examples

<style> p { color:#2871A8; } </style>
<style> p { color:rgb(40 113 168); } </style>
<style> p { color:hsl(205.78deg 61.54% 40.78%); } </style>

Lighter colors

#327BB2
#3C85BC
#468FC6
#5099D0
#5AA3DA
#64ADE4
#6EB7EE
#78C1F8

Darker colors

#1E679E
#145D94
#0A538A
#004980
#003F76
#00356C
#002B62
#002158

Analogous colors

#285CA8
#2846A8
#2831A8
#3528A8
#4B28A8
#6028A8
#7528A8
#8A28A8

Trinary colors

#2871A8
#A82871
#71A828

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