COLOR #2B138F

HEX: #2B138F
RGB: (43,19,143)

Color info

#2B138F contains mainly blue color. Web safe color of #2B138F is #330099 (or #309).

RGB color model

#2B138F color RGB value is (43,19,143).

  • red value is 43;
  • green value is 19;
  • blue value is 143.
RGB:
(43,19,143)
(17%,7%,56%)

RGB channels and saturation

R 43 of 255 = 17%
G 19 of 255 = 7%
B 143 of 255 = 56%

43
19
143

R + G + B ~ 27%. #2B138F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
43 + 19 + 143 = 205 (100%)
R 43 of 205 ~ 20.98%
G 19 of 205 ~ 9.27%
B 143 of 205 ~ 69.76%

%20.98
%69.76

CMYK color model

#2B138F color CMYK value is (70,87,0,44).

  • cyan value is 69.93%
  • magenta value is 86.71%
  • yellow value is 0.00%
  • key color value is 43.92%
CMYK:
(70,87,0,44)
C70M87Y0K44 
(70%,87%,0%,44%)
(0.70/0.87/0.00/0.44)	

CMYK percentages

%69.93
%86.71
%0
%43.92

Codes

Color #2B138F in popluar color models

2B138F
RGB4319143
HSL252°76.54%31.76%
HSB/HSV252°86.71%56.08%
CMYK69.93%86.71%0.00%
43.92%

Color #2B138F in popluar number systems.

HEX2B138F
Decimal4319143
Binary1010111001110001111
Octal5323217

Shades and tints

Shades of #2B138F

#2B138F
(43,19,143)
#281282
(40,18,130)
#251175
(37,17,117)
#221068
(34,16,104)
#1F0F5B
(31,15,91)
#1C0E4E
(28,14,78)
#190D41
(25,13,65)
#160C34
(22,12,52)
#130B27
(19,11,39)
#100A1A
(16,10,26)
#0D090D
(13,9,13)
#000000
(0,0,0)

Tints of #2B138F

#2B138F
(43,19,143)
#3E2899
(62,40,153)
#513DA3
(81,61,163)
#6452AD
(100,82,173)
#7767B7
(119,103,183)
#8A7CC1
(138,124,193)
#9D91CB
(157,145,203)
#B0A6D5
(176,166,213)
#C3BBDF
(195,187,223)
#D6D0E9
(214,208,233)
#E9E5F3
(233,229,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2B138F color. Also use rgb(43,19,143) instead hex code.

Text Font Color

.myTextColor { color: #2B138F; }

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

This text font color is #2B138F.


Background Color

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

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

This div background color is #2B138F.


Border color

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

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

This div border color is #2B138F.


Opacity

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

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

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

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

This text has shadow with #2B138F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2B138F on black background.


Color preview on white background

This text has color #2B138F on white background.



Black color preview on #2B138F background

This text has black color on #2B138F background.


White color preview on #2B138F background

This text has white color on #2B138F background.