Shades of Midnight Blue #1F0C79
Tints of Midnight Blue #1F0C79
RGB
CMYK
RGB Variations
Color information
#1F0C79 (or 0x1F0C79) is known color: Midnight Blue. HEX triplet: 1F, 0C and 79. RGB value is (31,12,121). Sum of RGB (Red+Green+Blue) = 31+12+121=164 (21% of max value = 765). Red value is 31 (12.5% from 255 or 18.90% from 164); Green value is 12 (5.08% from 255 or 7.32% from 164); Blue value is 121 (47.66% from 255 or 73.78% from 164); Max value from RGB is 121 - color contains mainly: blue. Hex color #1F0C79 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F0C79 is #E0F386. Grayscale: #1D1D1D. Windows color (decimal): -14742407 or 7932959. OLE color: 7932959.
HSL color Cylindrical-coordinate representation of color #1F0C79: hue angle of 250.46º degrees, saturation: 0.82, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #1F0C79 is Cyan = 0.74, Magento = 0.90, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 12 | 121 | - |
| CMYK | 0.74 | 0.90 | 0 | 0.53 |
| HSL | 250.46º | 0.82% | 0.26% | - |
| HSV(B) | 250.46º | 0.9% | 0.47% | - |
| XYZ | 4.15 | 1.93 | 18.24 | - |
| YUV | 30.11 | 179.29 | 128.64 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 12 | 121 | 0.74 | 0.90 | 0 | 0.53 | 250.46 | 0.82 | 0.26 |
| Hex | 1F | C | 79 | 4A | 5A | 0 | 35 | FA | 52 | 1A |
| Octal | 37 | 14 | 171 | 112 | 132 | 0 | 65 | 372 | 122 | 32 |
| Binary | 11111 | 1100 | 1111001 | 1001010 | 1011010 | 0 | 110101 | 11111010 | 1010010 | 11010 |
Color Harmonies of #1F0C79
Complementary color
Monochromatic Colors of #1F0C79
Black with #1F0C79
Text Example
Text Example
White with #1F0C79
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F0C79; }
p { color: rgb(31,12,121); }
H1.HeaderClassName
{
color: #1F0C79;
}
.AnyTagClassName
{
color: #1F0C79;
}
</style>
background-color css
<style>
a { background-color: #1F0C79; }
a { background-color: rgb(31,12,121); }
div.DivClassName
{
background-color: #1F0C79;
}
.BgClassName
{
background-color: #1F0C79;
}
</style>
border-color css
<style>
span { border-color: #1F0C79; }
span { border-color: rgb(31,12,121); }
td.TdClassName
{
border-color: #1F0C79;
}
.TagClassName
{
border-color: #1F0C79;
}
</style>