Shades of Midnight Blue #1F156D
Tints of Midnight Blue #1F156D
RGB
CMYK
RGB Variations
Color information
#1F156D (or 0x1F156D) is known color: Midnight Blue. HEX triplet: 1F, 15 and 6D. RGB value is (31,21,109). Sum of RGB (Red+Green+Blue) = 31+21+109=161 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.25% from 161); Green value is 21 (8.59% from 255 or 13.04% from 161); Blue value is 109 (42.97% from 255 or 67.70% from 161); Max value from RGB is 109 - color contains mainly: blue. Hex color #1F156D is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F156D is #E0EA92. Grayscale: #212121. Windows color (decimal): -14740115 or 7148831. OLE color: 7148831.
HSL color Cylindrical-coordinate representation of color #1F156D: hue angle of 246.82º degrees, saturation: 0.68, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #1F156D is Cyan = 0.72, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 31 | 21 | 109 | - |
| CMYK | 0.72 | 0.81 | 0 | 0.57 |
| HSL | 246.82º | 0.68% | 0.25% | - |
| HSV(B) | 246.82º | 0.81% | 0.43% | - |
| XYZ | 3.59 | 1.93 | 14.65 | - |
| YUV | 34.02 | 170.31 | 125.84 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 21 | 109 | 0.72 | 0.81 | 0 | 0.57 | 246.82 | 0.68 | 0.25 |
| Hex | 1F | 15 | 6D | 48 | 51 | 0 | 39 | F7 | 44 | 19 |
| Octal | 37 | 25 | 155 | 110 | 121 | 0 | 71 | 367 | 104 | 31 |
| Binary | 11111 | 10101 | 1101101 | 1001000 | 1010001 | 0 | 111001 | 11110111 | 1000100 | 11001 |
Color Harmonies of #1F156D
Complementary color
Monochromatic Colors of #1F156D
Black with #1F156D
Text Example
Text Example
White with #1F156D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F156D; }
p { color: rgb(31,21,109); }
H1.HeaderClassName
{
color: #1F156D;
}
.AnyTagClassName
{
color: #1F156D;
}
</style>
background-color css
<style>
a { background-color: #1F156D; }
a { background-color: rgb(31,21,109); }
div.DivClassName
{
background-color: #1F156D;
}
.BgClassName
{
background-color: #1F156D;
}
</style>
border-color css
<style>
span { border-color: #1F156D; }
span { border-color: rgb(31,21,109); }
td.TdClassName
{
border-color: #1F156D;
}
.TagClassName
{
border-color: #1F156D;
}
</style>