Shades of Midnight Blue #1F0966
Tints of Midnight Blue #1F0966
RGB
CMYK
RGB Variations
Color information
#1F0966 (or 0x1F0966) is known color: Midnight Blue. HEX triplet: 1F, 09 and 66. RGB value is (31,9,102). Sum of RGB (Red+Green+Blue) = 31+9+102=142 (18% of max value = 765). Red value is 31 (12.5% from 255 or 21.83% from 142); Green value is 9 (3.91% from 255 or 6.34% from 142); Blue value is 102 (40.23% from 255 or 71.83% from 142); Max value from RGB is 102 - color contains mainly: blue. Hex color #1F0966 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F0966 is #E0F699. Grayscale: #191919. Windows color (decimal): -14743194 or 6687007. OLE color: 6687007.
HSL color Cylindrical-coordinate representation of color #1F0966: hue angle of 254.19º degrees, saturation: 0.84, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.91%. Process color model (Four color, CMYK) of #1F0966 is Cyan = 0.70, Magento = 0.91, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 31 | 9 | 102 | - |
| CMYK | 0.70 | 0.91 | 0 | 0.6 |
| HSL | 254.19º | 0.84% | 0.22% | - |
| HSV(B) | 254.19º | 0.91% | 0.4% | - |
| XYZ | 3.06 | 1.45 | 12.69 | - |
| YUV | 26.18 | 170.79 | 131.44 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 9 | 102 | 0.70 | 0.91 | 0 | 0.6 | 254.19 | 0.84 | 0.22 |
| Hex | 1F | 9 | 66 | 46 | 5B | 0 | 3C | FE | 54 | 16 |
| Octal | 37 | 11 | 146 | 106 | 133 | 0 | 74 | 376 | 124 | 26 |
| Binary | 11111 | 1001 | 1100110 | 1000110 | 1011011 | 0 | 111100 | 11111110 | 1010100 | 10110 |
Color Harmonies of #1F0966
Complementary color
Monochromatic Colors of #1F0966
Black with #1F0966
Text Example
Text Example
White with #1F0966
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F0966; }
p { color: rgb(31,9,102); }
H1.HeaderClassName
{
color: #1F0966;
}
.AnyTagClassName
{
color: #1F0966;
}
</style>
background-color css
<style>
a { background-color: #1F0966; }
a { background-color: rgb(31,9,102); }
div.DivClassName
{
background-color: #1F0966;
}
.BgClassName
{
background-color: #1F0966;
}
</style>
border-color css
<style>
span { border-color: #1F0966; }
span { border-color: rgb(31,9,102); }
td.TdClassName
{
border-color: #1F0966;
}
.TagClassName
{
border-color: #1F0966;
}
</style>