COLOR #2840B9

HEX: #2840B9 RGB: (40,64,185)

Color info

#2840B9 contains mainly blue color. Web safe color of #2840B9 is #3333CC (or #33C).

RGB color model

#2840B9 color RGB value is (40,64,185).

RGB: (40,64,185) (16%, 25%, 73%)

RGB channels and saturation

R 40 of 255 = 16%
G 64 of 255 = 25%
B 185 of 255 = 73%

40
64
185

R + G + B ~ 38%. #2840B9 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 40 + 64 + 185 = 289 (100%)
R 40 of 289 ~ 13.84%
G 64 of 289 ~ 22.15%
B 185 of 289 ~ 64.01'%

%13.84
%22.15
%64.01

CMYK color model

#2840B9 color CMYK value is (78,65,0,27).

  • cyan value is 78.38%
  • magenta value is 65.41%
  • yellow value is 0.00%
  • key color value is 27.45%

CMYK: (78,65,0,27)
C78M65Y0K27 (78%, 65%, 0%, 27%)
(0.78 / 0.65 / 0.00 / 0.27)

CMYK percentages

%78.38
%65.41
%0
%27.45

Codes

Color #2840B9 in popluar color models

28 40 B9
RGB 40 64 185
HSL 230° 64.44% 44.12%
HSB/HSV 230° 78.38% 72.55%
CMYK 78.38% 65.41% 0.00%
27.45%

Color #2840B9 in popluar number systems.

HEX 28 40 B9
Decimal 40 64 185
Binary 101000 1000000 10111001
Octal 50 100 271

Shades and tints

Shades of #2840B9

#2840B9
(40,64,185)
#253BA9
(37,59,169)
#223699
(34,54,153)
#1F3189
(31,49,137)
#1C2C79
(28,44,121)
#192769
(25,39,105)
#162259
(22,34,89)
#131D49
(19,29,73)
#101839
(16,24,57)
#0D1329
(13,19,41)
#0A0E19
(10,14,25)
#000000
(0,0,0)

Tints of #2840B9

#2840B9
(40,64,185)
#3B51BF
(59,81,191)
#4E62C5
(78,98,197)
#6173CB
(97,115,203)
#7484D1
(116,132,209)
#8795D7
(135,149,215)
#9AA6DD
(154,166,221)
#ADB7E3
(173,183,227)
#C0C8E9
(192,200,233)
#D3D9EF
(211,217,239)
#E6EAF5
(230,234,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2840B9 color. Also use rgb(40,64,185) instead hex code.

Text Font Color

.myTextColor { color: #2840B9; }

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

This text font color is #2840B9.

Background Color

.myBgColor { background-color: #2840B9; }

<div style="background-color:#2840B9">Inner text</div>

This div background color is #2840B9.

Border color

.myBorderColor { border: 1px solid #2840B9; }

<div style="border:3px solid #2840B9">Div</div>

This div border color is #2840B9.

Opacity

.myOpacity80 { color: #2840B9; opacity: 0.8; }

<p style="color:#2840B9;opacity:0.8;">80%</p>

Text with #2840B9 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 #2840B9;}

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

This text has shadow with #2840B9 color.


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

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

This text has shadow with #2840B9 primary color and red secondary color.


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

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

This text has shadow with #2840B9 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #2840B9.

Preview

Color preview on black background

This text has color #2840B9 on black background.


Color preview on white background

This text has color #2840B9 on white background.


Black color preview on #2840B9 background

This text has black color on #2840B9 background.


White color preview on #2840B9 background

This text has white color on #2840B9 background.


Related colors

Complementary color

Complementary color for #hex is #D7BF46.


I love getcolorcode.com

Triadic colors

1 #B92840 and #40B928 with #2840B9 are triadic colors.

2 #B94028 and #4028B9 with #2840B9 are triadic colors.