COLOR #5F628A

HEX: #5F628A RGB: (95,98,138)

Color info

#5F628A contains red, green and blue colors in about the same proportion. Web safe color of #5F628A is #666699 (or #669).

RGB color model

#5F628A color RGB value is (95,98,138).

RGB: (95,98,138) (37%, 38%, 54%)

RGB channels and saturation

R 95 of 255 = 37%
G 98 of 255 = 38%
B 138 of 255 = 54%

95
98
138

R + G + B ~ 43%. #5F628A is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 95 + 98 + 138 = 331 (100%)
R 95 of 331 ~ 28.7%
G 98 of 331 ~ 29.61%
B 138 of 331 ~ 41.69'%

%28.7
%29.61
%41.69

CMYK color model

#5F628A color CMYK value is (31,29,0,46).

  • cyan value is 31.16%
  • magenta value is 28.99%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK: (31,29,0,46) C31M29Y0K46 (31%,29%,0%,46%) (0.31/0.29/0.00/0.46) 

CMYK percentages

%31.16
%28.99
%0
%45.88

Codes

Color #5F628A in popluar color models

5F 62 8A
RGB 95 98 138
HSL 236° 18.45% 45.69%
HSB/HSV 236° 31.16% 54.12%
CMYK 31.16% 28.99% 0.00%
45.88%

Color #5F628A in popluar number systems.

HEX 5F 62 8A
Decimal 95 98 138
Binary 1011111 1100010 10001010
Octal 137 142 212

Shades and tints

Shades of #5F628A

#5F628A
(95,98,138)
#575A7E
(87,90,126)
#4F5272
(79,82,114)
#474A66
(71,74,102)
#3F425A
(63,66,90)
#373A4E
(55,58,78)
#2F3242
(47,50,66)
#272A36
(39,42,54)
#1F222A
(31,34,42)
#171A1E
(23,26,30)
#0F1212
(15,18,18)
#000000
(0,0,0)

Tints of #5F628A

#5F628A
(95,98,138)
#6D7094
(109,112,148)
#7B7E9E
(123,126,158)
#898CA8
(137,140,168)
#979AB2
(151,154,178)
#A5A8BC
(165,168,188)
#B3B6C6
(179,182,198)
#C1C4D0
(193,196,208)
#CFD2DA
(207,210,218)
#DDE0E4
(221,224,228)
#EBEEEE
(235,238,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F628A color. Also use rgb(95,98,138) instead hex code.

Text Font Color

.myTextColor { color: #5F628A; }

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

This text font color is #5F628A.

Background Color

.myBgColor { background-color: #5F628A; }

<div style="background-color:#5F628A">Inner text</div>

This div background color is #5F628A.

Border color

.myBorderColor { border: 1px solid #5F628A; }

<div style="border:3px solid #5F628A">Div</div>

This div border color is #5F628A.

Opacity

.myOpacity80 { color: #5F628A; opacity: 0.8; }

<p style="color:#5F628A;opacity:0.8;">80%</p>

Text with #5F628A 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 #5F628A;}

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

This text has shadow with #5F628A color.


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

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

This text has shadow with #5F628A primary color and red secondary color.


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

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

This text has shadow with #5F628A and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #5F628A.

Preview

Color preview on black background

This text has color #5F628A on black background.


Color preview on white background

This text has color #5F628A on white background.


Black color preview on #5F628A background

This text has black color on #5F628A background.


White color preview on #5F628A background

This text has white color on #5F628A background.


Related colors

Complementary color

Complementary color for #hex is #A09D75.


I love getcolorcode.com

Triadic colors

1 #8A5F62 and #628A5F with #5F628A are triadic colors.

2 #8A625F and #625F8A with #5F628A are triadic colors.