Color Hex Logo

#40508b Color Hex

#40508B
(64,80,139)
0 Favorites   0 Comments

Color spaces of #40508b

RGB 6480139
HSL0.630.370.40
HSV227°54°55°
CMYK 0.540.420.00   0.45
XYZ9.64328.691425.5955
Yxy8.69140.21950.1978
Hunter Lab29.48126.7947-30.8386
CIE-Lab35.383211.7219-34.8412

#40508b color RGB value is (64,80,139).

#40508b hex color red value is 64, green value is 80 and the blue value of its RGB is 139. Cylindrical-coordinate representations (also known as HSL) of color #40508b hue: 0.63 , saturation: 0.37 and the lightness value of 40508b is 0.40.

The process color (four color CMYK) of #40508b color hex is 0.54, 0.42, 0.00, 0.45. Web safe color of #40508b is #336699. Color #40508b contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01000000 01010000 10001011
Octal 100 120 213
Decimal 64 80 139
Hex 40 50 8B

RGB Percentages of Color #40508b

%22.61
%28.27
%49.12

CMYK Percentages of Color #40508b

%54
%42
%0
%45

Triadic Colors of #40508b

#40508b #8b4050 #508b40

Analogous Colors of #40508b

#40508b #56408b #40768b

Monochromatic Colors of #40508b

#40508b

Complementary Color

#40508b #8b7b40

#40508b Color Preview on Black Background

Lorem ipsum dolor sit amet.

#40508b Color Preview on White Background

Lorem ipsum dolor sit amet.

#40508b Color CSS Codes

.mybgcolor {background-color:#40508b; } 
.myforecolor {color:#40508b; }
.mybordercolor {border:3px solid #40508b; }

#40508b Text Font Color

<p style="color:#40508b">Text here</p>

This sample text font color is #40508b
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


#40508b Background Color

<div style="background-color:#40508b">
Div content here</div>

This div background color is #40508b


#40508b Border Color

<div style="border:3px solid #40508b">
Div here</div>

This div border color is #40508b


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(64,80,139, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #40508b; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #40508b;
  -webkit-box-shadow: 1px 1px 3px 2px #40508b;
  box-shadow:         1px 1px 3px 2px #40508b; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(64,80,139, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #40508b">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #40508b;
  -webkit-box-shadow: 1px 1px 3px 2px #40508b;
  box-shadow:         1px 1px 3px 2px #40508b;">
Div content here</div>

This div box has shadow with color #40508b


Comments

No comments written yet.

Please login to write comment.