COLOR #4054B5

HEX: #4054B5 RGB: (64,84,181)

Color info

#4054B5 contains mainly blue color. Web safe color of #4054B5 is #3366CC (or #36C).

RGB color model

#4054B5 color RGB value is (64,84,181).

RGB: (64,84,181) (25%, 33%, 71%)

RGB channels and saturation

R 64 of 255 = 25%
G 84 of 255 = 33%
B 181 of 255 = 71%

64
84
181

R + G + B ~ 43%. #4054B5 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 64 + 84 + 181 = 329 (100%)
R 64 of 329 ~ 19.45%
G 84 of 329 ~ 25.53%
B 181 of 329 ~ 55.02'%

%19.45
%25.53
%55.02

CMYK color model

#4054B5 color CMYK value is (65,54,0,29).

  • cyan value is 64.64%
  • magenta value is 53.59%
  • yellow value is 0.00%
  • key color value is 29.02%

CMYK: (65,54,0,29)
C65M54Y0K29 (65%, 54%, 0%, 29%)
(0.65 / 0.54 / 0.00 / 0.29)

CMYK percentages

%64.64
%53.59
%0
%29.02

Codes

Color #4054B5 in popluar color models

40 54 B5
RGB 64 84 181
HSL 230° 47.76% 48.04%
HSB/HSV 230° 64.64% 70.98%
CMYK 64.64% 53.59% 0.00%
29.02%

Color #4054B5 in popluar number systems.

HEX 40 54 B5
Decimal 64 84 181
Binary 1000000 1010100 10110101
Octal 100 124 265

Shades and tints

Shades of #4054B5

#4054B5
(64,84,181)
#3B4DA5
(59,77,165)
#364695
(54,70,149)
#313F85
(49,63,133)
#2C3875
(44,56,117)
#273165
(39,49,101)
#222A55
(34,42,85)
#1D2345
(29,35,69)
#181C35
(24,28,53)
#131525
(19,21,37)
#0E0E15
(14,14,21)
#000000
(0,0,0)

Tints of #4054B5

#4054B5
(64,84,181)
#5163BB
(81,99,187)
#6272C1
(98,114,193)
#7381C7
(115,129,199)
#8490CD
(132,144,205)
#959FD3
(149,159,211)
#A6AED9
(166,174,217)
#B7BDDF
(183,189,223)
#C8CCE5
(200,204,229)
#D9DBEB
(217,219,235)
#EAEAF1
(234,234,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4054B5 color. Also use rgb(64,84,181) instead hex code.

Text Font Color

.myTextColor { color: #4054B5; }

<p style="color:#4054B5">This sample text font color is #4054B5.</p>

This text font color is #4054B5.

Background Color

.myBgColor { background-color: #4054B5; }

<div style="background-color:#4054B5">Inner text</div>

This div background color is #4054B5.

Border color

.myBorderColor { border: 1px solid #4054B5; }

<div style="border:3px solid #4054B5">Div</div>

This div border color is #4054B5.

Opacity

.myOpacity80 { color: #4054B5; opacity: 0.8; }

<p style="color:#4054B5;opacity:0.8;">80%</p>

Text with #4054B5 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #4054B5;}

<p style="text-shadow: 3px 3px 1px #4054B5">Text here.</p>

This text has shadow with #4054B5 color.


.textShadow {text-shadow: 3px 3px 1px #4054B5', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #4054B5, 5px 5px 20px red">Text here.</p>

This text has shadow with #4054B5 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4054B5, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#4054B5, Direction=45, Strength=4)">Text</p>

This text has shadow with #4054B5 and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #4054B5;
-webkit-box-shadow: 1px 1px 3px 2px #4054B5;
box-shadow: 1px 1px 3px 2px #4054B5;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #4054B5; -webkit-box-shadow: 1px 1px 3px 2px #4054B5; box-shadow:1px 1px 3px 2px #4054B5;">
Div content here
</div>

This div box has shadow with color #4054B5.

Preview

Color preview on black background

This text has color #4054B5 on black background.


Color preview on white background

This text has color #4054B5 on white background.


Black color preview on #4054B5 background

This text has black color on #4054B5 background.


White color preview on #4054B5 background

This text has white color on #4054B5 background.


Related colors

Complementary color

Complementary color for #hex is #BFAB4A.


I love getcolorcode.com

Triadic colors

1 #B54054 and #54B540 with #4054B5 are triadic colors.

2 #B55440 and #5440B5 with #4054B5 are triadic colors.