COLOR #2A5895

HEX: #2A5895 RGB: (42,88,149)

Color info

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

RGB color model

#2A5895 color RGB value is (42,88,149).

RGB: (42,88,149) (16%, 35%, 58%)

RGB channels and saturation

R 42 of 255 = 16%
G 88 of 255 = 35%
B 149 of 255 = 58%

42
88
149

R + G + B ~ 36%. #2A5895 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 88 + 149 = 279 (100%)
R 42 of 279 ~ 15.05%
G 88 of 279 ~ 31.54%
B 149 of 279 ~ 53.41'%

%15.05
%31.54
%53.41

CMYK color model

#2A5895 color CMYK value is (72,41,0,42).

  • cyan value is 71.81%
  • magenta value is 40.94%
  • yellow value is 0.00%
  • key color value is 41.57%

CMYK: (72,41,0,42)
C72M41Y0K42 (72%, 41%, 0%, 42%)
(0.72 / 0.41 / 0.00 / 0.42)

CMYK percentages

%71.81
%40.94
%0
%41.57

Codes

Color #2A5895 in popluar color models

2A 58 95
RGB 42 88 149
HSL 214° 56.02% 37.45%
HSB/HSV 214° 71.81% 58.43%
CMYK 71.81% 40.94% 0.00%
41.57%

Color #2A5895 in popluar number systems.

HEX 2A 58 95
Decimal 42 88 149
Binary 101010 1011000 10010101
Octal 52 130 225

Shades and tints

Shades of #2A5895

#2A5895
(42,88,149)
#275088
(39,80,136)
#24487B
(36,72,123)
#21406E
(33,64,110)
#1E3861
(30,56,97)
#1B3054
(27,48,84)
#182847
(24,40,71)
#15203A
(21,32,58)
#12182D
(18,24,45)
#0F1020
(15,16,32)
#0C0813
(12,8,19)
#000000
(0,0,0)

Tints of #2A5895

#2A5895
(42,88,149)
#3D679E
(61,103,158)
#5076A7
(80,118,167)
#6385B0
(99,133,176)
#7694B9
(118,148,185)
#89A3C2
(137,163,194)
#9CB2CB
(156,178,203)
#AFC1D4
(175,193,212)
#C2D0DD
(194,208,221)
#D5DFE6
(213,223,230)
#E8EEEF
(232,238,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5895 color. Also use rgb(42,88,149) instead hex code.

Text Font Color

.myTextColor { color: #2A5895; }

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

This text font color is #2A5895.

Background Color

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

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

This div background color is #2A5895.

Border color

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

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

This div border color is #2A5895.

Opacity

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

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

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

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

This text has shadow with #2A5895 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A5895.

Preview

Color preview on black background

This text has color #2A5895 on black background.


Color preview on white background

This text has color #2A5895 on white background.


Black color preview on #2A5895 background

This text has black color on #2A5895 background.


White color preview on #2A5895 background

This text has white color on #2A5895 background.


Related colors

Complementary color

Complementary color for #hex is #D5A76A.


I love getcolorcode.com

Triadic colors

1 #952A58 and #58952A with #2A5895 are triadic colors.

2 #95582A and #582A95 with #2A5895 are triadic colors.