Shades of Midnight Blue #1F0F76
Tints of Midnight Blue #1F0F76
RGB
CMYK
RGB Variations
Color information
#1F0F76 (or 0x1F0F76) is known color: Midnight Blue. HEX triplet: 1F, 0F and 76. RGB value is (31,15,118). Sum of RGB (Red+Green+Blue) = 31+15+118=164 (21% of max value = 765). Red value is 31 (12.5% from 255 or 18.90% from 164); Green value is 15 (6.25% from 255 or 9.15% from 164); Blue value is 118 (46.48% from 255 or 71.95% from 164); Max value from RGB is 118 - color contains mainly: blue. Hex color #1F0F76 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F0F76 is #E0F089. Grayscale: #1F1F1F. Windows color (decimal): -14741642 or 7737119. OLE color: 7737119.
HSL color Cylindrical-coordinate representation of color #1F0F76: hue angle of 249.32º degrees, saturation: 0.77, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.87%. Process color model (Four color, CMYK) of #1F0F76 is Cyan = 0.74, Magento = 0.87, Yellow = 0 and Black (K on CMYK) = 0.54.
Color convert
| RGB | 31 | 15 | 118 | - |
| CMYK | 0.74 | 0.87 | 0 | 0.54 |
| HSL | 249.32º | 0.77% | 0.26% | - |
| HSV(B) | 249.32º | 0.87% | 0.46% | - |
| XYZ | 4.01 | 1.94 | 17.3 | - |
| YUV | 31.53 | 176.8 | 127.62 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 15 | 118 | 0.74 | 0.87 | 0 | 0.54 | 249.32 | 0.77 | 0.26 |
| Hex | 1F | F | 76 | 4A | 57 | 0 | 36 | F9 | 4D | 1A |
| Octal | 37 | 17 | 166 | 112 | 127 | 0 | 66 | 371 | 115 | 32 |
| Binary | 11111 | 1111 | 1110110 | 1001010 | 1010111 | 0 | 110110 | 11111001 | 1001101 | 11010 |
Color Harmonies of #1F0F76
Complementary color
Monochromatic Colors of #1F0F76
Black with #1F0F76
Text Example
Text Example
White with #1F0F76
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F0F76; }
p { color: rgb(31,15,118); }
H1.HeaderClassName
{
color: #1F0F76;
}
.AnyTagClassName
{
color: #1F0F76;
}
</style>
background-color css
<style>
a { background-color: #1F0F76; }
a { background-color: rgb(31,15,118); }
div.DivClassName
{
background-color: #1F0F76;
}
.BgClassName
{
background-color: #1F0F76;
}
</style>
border-color css
<style>
span { border-color: #1F0F76; }
span { border-color: rgb(31,15,118); }
td.TdClassName
{
border-color: #1F0F76;
}
.TagClassName
{
border-color: #1F0F76;
}
</style>