COLOR #2A57AF

HEX: #2A57AF RGB: (42,87,175)

Color info

#2A57AF contains mainly blue color. Web safe color of #2A57AF is #336699 (or #369).

RGB color model

#2A57AF color RGB value is (42,87,175).

RGB: (42,87,175) (16%, 34%, 69%)

RGB channels and saturation

R 42 of 255 = 16%
G 87 of 255 = 34%
B 175 of 255 = 69%

42
87
175

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

Portions of RGB colors in percentages

R + G + B = 42 + 87 + 175 = 304 (100%)
R 42 of 304 ~ 13.82%
G 87 of 304 ~ 28.62%
B 175 of 304 ~ 57.57'%

%13.82
%28.62
%57.57

CMYK color model

#2A57AF color CMYK value is (76,50,0,31).

  • cyan value is 76.00%
  • magenta value is 50.29%
  • yellow value is 0.00%
  • key color value is 31.37%

CMYK: (76,50,0,31)
C76M50Y0K31 (76%, 50%, 0%, 31%)
(0.76 / 0.50 / 0.00 / 0.31)

CMYK percentages

%76
%50.29
%0
%31.37

Codes

Color #2A57AF in popluar color models

2A 57 AF
RGB 42 87 175
HSL 220° 61.29% 42.55%
HSB/HSV 220° 76.00% 68.63%
CMYK 76.00% 50.29% 0.00%
31.37%

Color #2A57AF in popluar number systems.

HEX 2A 57 AF
Decimal 42 87 175
Binary 101010 1010111 10101111
Octal 52 127 257

Shades and tints

Shades of #2A57AF

#2A57AF
(42,87,175)
#2750A0
(39,80,160)
#244991
(36,73,145)
#214282
(33,66,130)
#1E3B73
(30,59,115)
#1B3464
(27,52,100)
#182D55
(24,45,85)
#152646
(21,38,70)
#121F37
(18,31,55)
#0F1828
(15,24,40)
#0C1119
(12,17,25)
#000000
(0,0,0)

Tints of #2A57AF

#2A57AF
(42,87,175)
#3D66B6
(61,102,182)
#5075BD
(80,117,189)
#6384C4
(99,132,196)
#7693CB
(118,147,203)
#89A2D2
(137,162,210)
#9CB1D9
(156,177,217)
#AFC0E0
(175,192,224)
#C2CFE7
(194,207,231)
#D5DEEE
(213,222,238)
#E8EDF5
(232,237,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A57AF color. Also use rgb(42,87,175) instead hex code.

Text Font Color

.myTextColor { color: #2A57AF; }

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

This text font color is #2A57AF.

Background Color

.myBgColor { background-color: #2A57AF; }

<div style="background-color:#2A57AF">Inner text</div>

This div background color is #2A57AF.

Border color

.myBorderColor { border: 1px solid #2A57AF; }

<div style="border:3px solid #2A57AF">Div</div>

This div border color is #2A57AF.

Opacity

.myOpacity80 { color: #2A57AF; opacity: 0.8; }

<p style="color:#2A57AF;opacity:0.8;">80%</p>

Text with #2A57AF 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 #2A57AF;}

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

This text has shadow with #2A57AF color.


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

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

This text has shadow with #2A57AF primary color and red secondary color.


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

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

This text has shadow with #2A57AF and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #2A57AF.

Preview

Color preview on black background

This text has color #2A57AF on black background.


Color preview on white background

This text has color #2A57AF on white background.


Black color preview on #2A57AF background

This text has black color on #2A57AF background.


White color preview on #2A57AF background

This text has white color on #2A57AF background.


Related colors

Complementary color

Complementary color for #hex is #D5A850.


I love getcolorcode.com

Triadic colors

1 #AF2A57 and #57AF2A with #2A57AF are triadic colors.

2 #AF572A and #572AAF with #2A57AF are triadic colors.