Shades of Midnight Blue #1F0C66
Tints of Midnight Blue #1F0C66
RGB
CMYK
RGB Variations
Color information
#1F0C66 (or 0x1F0C66) is known color: Midnight Blue. HEX triplet: 1F, 0C and 66. RGB value is (31,12,102). Sum of RGB (Red+Green+Blue) = 31+12+102=145 (19% of max value = 765). Red value is 31 (12.5% from 255 or 21.38% from 145); Green value is 12 (5.08% from 255 or 8.28% from 145); Blue value is 102 (40.23% from 255 or 70.34% from 145); Max value from RGB is 102 - color contains mainly: blue. Hex color #1F0C66 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F0C66 is #E0F399. Grayscale: #1B1B1B. Windows color (decimal): -14742426 or 6687775. OLE color: 6687775.
HSL color Cylindrical-coordinate representation of color #1F0C66: hue angle of 252.67º degrees, saturation: 0.79, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.88%. Process color model (Four color, CMYK) of #1F0C66 is Cyan = 0.70, Magento = 0.88, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 31 | 12 | 102 | - |
| CMYK | 0.70 | 0.88 | 0 | 0.6 |
| HSL | 252.67º | 0.79% | 0.22% | - |
| HSV(B) | 252.67º | 0.88% | 0.4% | - |
| XYZ | 3.09 | 1.51 | 12.7 | - |
| YUV | 27.94 | 169.79 | 130.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 12 | 102 | 0.70 | 0.88 | 0 | 0.6 | 252.67 | 0.79 | 0.22 |
| Hex | 1F | C | 66 | 46 | 58 | 0 | 3C | FD | 4F | 16 |
| Octal | 37 | 14 | 146 | 106 | 130 | 0 | 74 | 375 | 117 | 26 |
| Binary | 11111 | 1100 | 1100110 | 1000110 | 1011000 | 0 | 111100 | 11111101 | 1001111 | 10110 |
Color Harmonies of #1F0C66
Complementary color
Monochromatic Colors of #1F0C66
Black with #1F0C66
Text Example
Text Example
White with #1F0C66
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F0C66; }
p { color: rgb(31,12,102); }
H1.HeaderClassName
{
color: #1F0C66;
}
.AnyTagClassName
{
color: #1F0C66;
}
</style>
background-color css
<style>
a { background-color: #1F0C66; }
a { background-color: rgb(31,12,102); }
div.DivClassName
{
background-color: #1F0C66;
}
.BgClassName
{
background-color: #1F0C66;
}
</style>
border-color css
<style>
span { border-color: #1F0C66; }
span { border-color: rgb(31,12,102); }
td.TdClassName
{
border-color: #1F0C66;
}
.TagClassName
{
border-color: #1F0C66;
}
</style>