HTML color code #40506B

Color name: None
RGB: 64, 80, 107
HSL: 217.67deg, 25.15%, 33.53%
Web safe color: No

RGB complementary color:

A complementary color for this color is #6B5B40.

Example text color using #40506B

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:#40506B;">Your text using HTML color code.</p>
<p style="color:rgb(64 80 107);">Your text using RGB color values.</p>
<p style="color:hsl(217.67deg 25.15% 33.53%);">Your text using HSL color values.</p>

CSS code examples

<style> p { color:#40506B; } </style>
<style> p { color:rgb(64 80 107); } </style>
<style> p { color:hsl(217.67deg 25.15% 33.53%); } </style>

Lighter colors

#4A5A75
#54647F
#5E6E89
#687893
#72829D
#7C8CA7
#8696B1
#90A0BB

Darker colors

#364661
#2C3C57
#22324D
#182843
#0E1E39
#04142F
#000A25
#00001B

Analogous colors

#40496B
#40426B
#46406B
#4D406B
#54406B
#5B406B
#63406B
#6A406B

Trinary colors

#40506B
#6B4050
#506B40

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