COLOR #221F41

HEX: #221F41
RGB: (34,31,65)

Color info

#221F41 contains red, green and blue colors in about the same proportion. Web safe color of #221F41 is #333333 (or #333).

RGB color model

#221F41 color RGB value is (34,31,65).

  • red value is 34;
  • green value is 31;
  • blue value is 65.
RGB:
(34,31,65)
(13%,12%,25%)

RGB channels and saturation

R 34 of 255 = 13%
G 31 of 255 = 12%
B 65 of 255 = 25%

34
31
65

R + G + B ~ 17%. #221F41 is dark color.

Portions of RGB colors in percentages

R + G + B =
34 + 31 + 65 = 130 (100%)
R 34 of 130 ~ 26.15%
G 31 of 130 ~ 23.85%
B 65 of 130 ~ 50%

%26.15
%23.85
%50

CMYK color model

#221F41 color CMYK value is (48,52,0,75).

  • cyan value is 47.69%
  • magenta value is 52.31%
  • yellow value is 0.00%
  • key color value is 74.51%
CMYK:
(48,52,0,75)
C48M52Y0K75 
(48%,52%,0%,75%)
(0.48/0.52/0.00/0.75)	

CMYK percentages

%47.69
%52.31
%0
%74.51

Codes

Color #221F41 in popluar color models

221F41
RGB343165
HSL245°35.42%18.82%
HSB/HSV245°52.31%25.49%
CMYK47.69%52.31%0.00%
74.51%

Color #221F41 in popluar number systems.

HEX221F41
Decimal343165
Binary100010111111000001
Octal4237101

Shades and tints

Shades of #221F41

#221F41
(34,31,65)
#1F1D3C
(31,29,60)
#1C1B37
(28,27,55)
#191932
(25,25,50)
#16172D
(22,23,45)
#131528
(19,21,40)
#101323
(16,19,35)
#0D111E
(13,17,30)
#0A0F19
(10,15,25)
#070D14
(7,13,20)
#040B0F
(4,11,15)
#000000
(0,0,0)

Tints of #221F41

#221F41
(34,31,65)
#363352
(54,51,82)
#4A4763
(74,71,99)
#5E5B74
(94,91,116)
#726F85
(114,111,133)
#868396
(134,131,150)
#9A97A7
(154,151,167)
#AEABB8
(174,171,184)
#C2BFC9
(194,191,201)
#D6D3DA
(214,211,218)
#EAE7EB
(234,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #221F41 color. Also use rgb(34,31,65) instead hex code.

Text Font Color

.myTextColor { color: #221F41; }

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

This text font color is #221F41.


Background Color

.myBgColor { background-color: #221F41; }

<div style="background-color:#221F41">Inner text</div>

This div background color is #221F41.


Border color

.myBorderColor { border: 1px solid #221F41; }

<div style="border:3px solid #221F41">Div</div>

This div border color is #221F41.


Opacity

.myOpacity80 { color: #221F41; opacity: 0.8; }

<p style="color:#221F41;opacity:0.8;">80%</p>

Text with #221F41 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 #221F41;}

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

This text has shadow with #221F41 color.

.textShadow {text-shadow: 3px 3px 1px #221F41, 3px 3px 1px red;}

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

This text has shadow with #221F41 primary color and red secondary color.


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

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

This text has shadow with #221F41 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #221F41 on black background.


Color preview on white background

This text has color #221F41 on white background.



Black color preview on #221F41 background

This text has black color on #221F41 background.


White color preview on #221F41 background

This text has white color on #221F41 background.