Shades of Midnight #1F334D
Tints of Midnight #1F334D
RGB
CMYK
RGB Variations
Color information
#1F334D (or 0x1F334D) is known color: Midnight. HEX triplet: 1F, 33 and 4D. RGB value is (31,51,77). Sum of RGB (Red+Green+Blue) = 31+51+77=159 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.50% from 159); Green value is 51 (20.31% from 255 or 32.08% from 159); Blue value is 77 (30.47% from 255 or 48.43% from 159); Max value from RGB is 77 - color contains mainly: blue. Hex color #1F334D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F334D is #E0CCB2. Grayscale: #2F2F2F. Windows color (decimal): -14732467 or 5059359. OLE color: 5059359.
HSL color Cylindrical-coordinate representation of color #1F334D: hue angle of 213.91º degrees, saturation: 0.43, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.6%. Process color model (Four color, CMYK) of #1F334D is Cyan = 0.60, Magento = 0.34, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 31 | 51 | 77 | - |
| CMYK | 0.60 | 0.34 | 0 | 0.70 |
| HSL | 213.91º | 0.43% | 0.21% | - |
| HSV(B) | 213.91º | 0.6% | 0.3% | - |
| XYZ | 3.09 | 3.19 | 7.48 | - |
| YUV | 47.98 | 144.37 | 115.89 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 51 | 77 | 0.60 | 0.34 | 0 | 0.70 | 213.91 | 0.43 | 0.21 |
| Hex | 1F | 33 | 4D | 3C | 22 | 0 | 46 | D6 | 2B | 15 |
| Octal | 37 | 63 | 115 | 74 | 42 | 0 | 106 | 326 | 53 | 25 |
| Binary | 11111 | 110011 | 1001101 | 111100 | 100010 | 0 | 1000110 | 11010110 | 101011 | 10101 |
Color Harmonies of #1F334D
Complementary color
Monochromatic Colors of #1F334D
Black with #1F334D
Text Example
Text Example
White with #1F334D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F334D; }
p { color: rgb(31,51,77); }
H1.HeaderClassName
{
color: #1F334D;
}
.AnyTagClassName
{
color: #1F334D;
}
</style>
background-color css
<style>
a { background-color: #1F334D; }
a { background-color: rgb(31,51,77); }
div.DivClassName
{
background-color: #1F334D;
}
.BgClassName
{
background-color: #1F334D;
}
</style>
border-color css
<style>
span { border-color: #1F334D; }
span { border-color: rgb(31,51,77); }
td.TdClassName
{
border-color: #1F334D;
}
.TagClassName
{
border-color: #1F334D;
}
</style>