COLOR #221F54

HEX: #221F54 RGB: (34,31,84)

Color info

#221F54 contains red, green and blue colors in about the same proportion. Web safe color of #221F54 is #333366 (or #336).

RGB color model

#221F54 color RGB value is (34,31,84).

RGB: (34,31,84) (13%, 12%, 33%)

RGB channels and saturation

R 34 of 255 = 13%
G 31 of 255 = 12%
B 84 of 255 = 33%

34
31
84

R + G + B ~ 19%. #221F54 is dark color.

Portions of RGB colors in percentages

R + G + B = 34 + 31 + 84 = 149 (100%)
R 34 of 149 ~ 22.82%
G 31 of 149 ~ 20.81%
B 84 of 149 ~ 56.38'%

%22.82
%20.81
%56.38

CMYK color model

#221F54 color CMYK value is (60,63,0,67).

  • cyan value is 59.52%
  • magenta value is 63.10%
  • yellow value is 0.00%
  • key color value is 67.06%

CMYK: (60,63,0,67)
C60M63Y0K67 (60%, 63%, 0%, 67%)
(0.60 / 0.63 / 0.00 / 0.67)

CMYK percentages

%59.52
%63.1
%0
%67.06

Codes

Color #221F54 in popluar color models

22 1F 54
RGB 34 31 84
HSL 243° 46.09% 22.55%
HSB/HSV 243° 63.10% 32.94%
CMYK 59.52% 63.10% 0.00%
67.06%

Color #221F54 in popluar number systems.

HEX 22 1F 54
Decimal 34 31 84
Binary 100010 11111 1010100
Octal 42 37 124

Shades and tints

Shades of #221F54

#221F54
(34,31,84)
#1F1D4D
(31,29,77)
#1C1B46
(28,27,70)
#19193F
(25,25,63)
#161738
(22,23,56)
#131531
(19,21,49)
#10132A
(16,19,42)
#0D1123
(13,17,35)
#0A0F1C
(10,15,28)
#070D15
(7,13,21)
#040B0E
(4,11,14)
#000000
(0,0,0)

Tints of #221F54

#221F54
(34,31,84)
#363363
(54,51,99)
#4A4772
(74,71,114)
#5E5B81
(94,91,129)
#726F90
(114,111,144)
#86839F
(134,131,159)
#9A97AE
(154,151,174)
#AEABBD
(174,171,189)
#C2BFCC
(194,191,204)
#D6D3DB
(214,211,219)
#EAE7EA
(234,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #221F54; }

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

This text font color is #221F54.

Background Color

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

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

This div background color is #221F54.

Border color

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

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

This div border color is #221F54.

Opacity

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

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

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

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

This text has shadow with #221F54 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #221F54.

Preview

Color preview on black background

This text has color #221F54 on black background.


Color preview on white background

This text has color #221F54 on white background.


Black color preview on #221F54 background

This text has black color on #221F54 background.


White color preview on #221F54 background

This text has white color on #221F54 background.


Related colors

Complementary color

Complementary color for #hex is #DDE0AB.


I love getcolorcode.com

Triadic colors

1 #54221F and #1F5422 with #221F54 are triadic colors.

2 #541F22 and #1F2254 with #221F54 are triadic colors.