COLOR #54508C

HEX: #54508C RGB: (84,80,140)

Color info

#54508C contains mainly red and blue colors. Web safe color of #54508C is #666699 (or #669).

RGB color model

#54508C color RGB value is (84,80,140).

RGB: (84,80,140) (33%, 31%, 55%)

RGB channels and saturation

R 84 of 255 = 33%
G 80 of 255 = 31%
B 140 of 255 = 55%

84
80
140

R + G + B ~ 40%. #54508C is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 84 + 80 + 140 = 304 (100%)
R 84 of 304 ~ 27.63%
G 80 of 304 ~ 26.32%
B 140 of 304 ~ 46.05'%

%27.63
%26.32
%46.05

CMYK color model

#54508C color CMYK value is (40,43,0,45).

  • cyan value is 40.00%
  • magenta value is 42.86%
  • yellow value is 0.00%
  • key color value is 45.10%

CMYK: (40,43,0,45)
C40M43Y0K45 (40%, 43%, 0%, 45%)
(0.40 / 0.43 / 0.00 / 0.45)

CMYK percentages

%40
%42.86
%0
%45.1

Codes

Color #54508C in popluar color models

54 50 8C
RGB 84 80 140
HSL 244° 27.27% 43.14%
HSB/HSV 244° 42.86% 54.90%
CMYK 40.00% 42.86% 0.00%
45.10%

Color #54508C in popluar number systems.

HEX 54 50 8C
Decimal 84 80 140
Binary 1010100 1010000 10001100
Octal 124 120 214

Shades and tints

Shades of #54508C

#54508C
(84,80,140)
#4D4980
(77,73,128)
#464274
(70,66,116)
#3F3B68
(63,59,104)
#38345C
(56,52,92)
#312D50
(49,45,80)
#2A2644
(42,38,68)
#231F38
(35,31,56)
#1C182C
(28,24,44)
#151120
(21,17,32)
#0E0A14
(14,10,20)
#000000
(0,0,0)

Tints of #54508C

#54508C
(84,80,140)
#635F96
(99,95,150)
#726EA0
(114,110,160)
#817DAA
(129,125,170)
#908CB4
(144,140,180)
#9F9BBE
(159,155,190)
#AEAAC8
(174,170,200)
#BDB9D2
(189,185,210)
#CCC8DC
(204,200,220)
#DBD7E6
(219,215,230)
#EAE6F0
(234,230,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #54508C color. Also use rgb(84,80,140) instead hex code.

Text Font Color

.myTextColor { color: #54508C; }

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

This text font color is #54508C.

Background Color

.myBgColor { background-color: #54508C; }

<div style="background-color:#54508C">Inner text</div>

This div background color is #54508C.

Border color

.myBorderColor { border: 1px solid #54508C; }

<div style="border:3px solid #54508C">Div</div>

This div border color is #54508C.

Opacity

.myOpacity80 { color: #54508C; opacity: 0.8; }

<p style="color:#54508C;opacity:0.8;">80%</p>

Text with #54508C 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 #54508C;}

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

This text has shadow with #54508C color.


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

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

This text has shadow with #54508C primary color and red secondary color.


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

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

This text has shadow with #54508C and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #54508C.

Preview

Color preview on black background

This text has color #54508C on black background.


Color preview on white background

This text has color #54508C on white background.


Black color preview on #54508C background

This text has black color on #54508C background.


White color preview on #54508C background

This text has white color on #54508C background.


Related colors

Complementary color

Complementary color for #hex is #ABAF73.


I love getcolorcode.com

Triadic colors

1 #8C5450 and #508C54 with #54508C are triadic colors.

2 #8C5054 and #50548C with #54508C are triadic colors.