COLOR #505AB6

HEX: #505AB6 RGB: (80,90,182)

Color info

#505AB6 contains mainly blue color. Web safe color of #505AB6 is #6666CC (or #66C).

RGB color model

#505AB6 color RGB value is (80,90,182).

RGB: (80,90,182) (31%, 35%, 71%)

RGB channels and saturation

R 80 of 255 = 31%
G 90 of 255 = 35%
B 182 of 255 = 71%

80
90
182

R + G + B ~ 46%. #505AB6 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 80 + 90 + 182 = 352 (100%)
R 80 of 352 ~ 22.73%
G 90 of 352 ~ 25.57%
B 182 of 352 ~ 51.7'%

%22.73
%25.57
%51.7

CMYK color model

#505AB6 color CMYK value is (56,51,0,29).

  • cyan value is 56.04%
  • magenta value is 50.55%
  • yellow value is 0.00%
  • key color value is 28.63%

CMYK: (56,51,0,29)
C56M51Y0K29 (56%, 51%, 0%, 29%)
(0.56 / 0.51 / 0.00 / 0.29)

CMYK percentages

%56.04
%50.55
%0
%28.63

Codes

Color #505AB6 in popluar color models

50 5A B6
RGB 80 90 182
HSL 234° 41.13% 51.37%
HSB/HSV 234° 56.04% 71.37%
CMYK 56.04% 50.55% 0.00%
28.63%

Color #505AB6 in popluar number systems.

HEX 50 5A B6
Decimal 80 90 182
Binary 1010000 1011010 10110110
Octal 120 132 266

Shades and tints

Shades of #505AB6

#505AB6
(80,90,182)
#4952A6
(73,82,166)
#424A96
(66,74,150)
#3B4286
(59,66,134)
#343A76
(52,58,118)
#2D3266
(45,50,102)
#262A56
(38,42,86)
#1F2246
(31,34,70)
#181A36
(24,26,54)
#111226
(17,18,38)
#0A0A16
(10,10,22)
#000000
(0,0,0)

Tints of #505AB6

#505AB6
(80,90,182)
#5F69BC
(95,105,188)
#6E78C2
(110,120,194)
#7D87C8
(125,135,200)
#8C96CE
(140,150,206)
#9BA5D4
(155,165,212)
#AAB4DA
(170,180,218)
#B9C3E0
(185,195,224)
#C8D2E6
(200,210,230)
#D7E1EC
(215,225,236)
#E6F0F2
(230,240,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #505AB6 color. Also use rgb(80,90,182) instead hex code.

Text Font Color

.myTextColor { color: #505AB6; }

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

This text font color is #505AB6.

Background Color

.myBgColor { background-color: #505AB6; }

<div style="background-color:#505AB6">Inner text</div>

This div background color is #505AB6.

Border color

.myBorderColor { border: 1px solid #505AB6; }

<div style="border:3px solid #505AB6">Div</div>

This div border color is #505AB6.

Opacity

.myOpacity80 { color: #505AB6; opacity: 0.8; }

<p style="color:#505AB6;opacity:0.8;">80%</p>

Text with #505AB6 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 #505AB6;}

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

This text has shadow with #505AB6 color.


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

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

This text has shadow with #505AB6 primary color and red secondary color.


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

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

This text has shadow with #505AB6 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #505AB6.

Preview

Color preview on black background

This text has color #505AB6 on black background.


Color preview on white background

This text has color #505AB6 on white background.


Black color preview on #505AB6 background

This text has black color on #505AB6 background.


White color preview on #505AB6 background

This text has white color on #505AB6 background.


Related colors

Complementary color

Complementary color for #hex is #AFA549.


I love getcolorcode.com

Triadic colors

1 #B6505A and #5AB650 with #505AB6 are triadic colors.

2 #B65A50 and #5A50B6 with #505AB6 are triadic colors.