Shades of Midnight Blue #1F0C76
Tints of Midnight Blue #1F0C76
RGB
CMYK
RGB Variations
Color information
#1F0C76 (or 0x1F0C76) is known color: Midnight Blue. HEX triplet: 1F, 0C and 76. RGB value is (31,12,118). Sum of RGB (Red+Green+Blue) = 31+12+118=161 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.25% from 161); Green value is 12 (5.08% from 255 or 7.45% from 161); Blue value is 118 (46.48% from 255 or 73.29% from 161); Max value from RGB is 118 - color contains mainly: blue. Hex color #1F0C76 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F0C76 is #E0F389. Grayscale: #1D1D1D. Windows color (decimal): -14742410 or 7736351. OLE color: 7736351.
HSL color Cylindrical-coordinate representation of color #1F0C76: hue angle of 250.75º degrees, saturation: 0.82, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #1F0C76 is Cyan = 0.74, Magento = 0.90, Yellow = 0 and Black (K on CMYK) = 0.54.
Color convert
| RGB | 31 | 12 | 118 | - |
| CMYK | 0.74 | 0.90 | 0 | 0.54 |
| HSL | 250.75º | 0.82% | 0.25% | - |
| HSV(B) | 250.75º | 0.9% | 0.46% | - |
| XYZ | 3.97 | 1.86 | 17.29 | - |
| YUV | 29.77 | 177.79 | 128.88 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 12 | 118 | 0.74 | 0.90 | 0 | 0.54 | 250.75 | 0.82 | 0.25 |
| Hex | 1F | C | 76 | 4A | 5A | 0 | 36 | FB | 52 | 19 |
| Octal | 37 | 14 | 166 | 112 | 132 | 0 | 66 | 373 | 122 | 31 |
| Binary | 11111 | 1100 | 1110110 | 1001010 | 1011010 | 0 | 110110 | 11111011 | 1010010 | 11001 |
Color Harmonies of #1F0C76
Complementary color
Monochromatic Colors of #1F0C76
Black with #1F0C76
Text Example
Text Example
White with #1F0C76
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F0C76; }
p { color: rgb(31,12,118); }
H1.HeaderClassName
{
color: #1F0C76;
}
.AnyTagClassName
{
color: #1F0C76;
}
</style>
background-color css
<style>
a { background-color: #1F0C76; }
a { background-color: rgb(31,12,118); }
div.DivClassName
{
background-color: #1F0C76;
}
.BgClassName
{
background-color: #1F0C76;
}
</style>
border-color css
<style>
span { border-color: #1F0C76; }
span { border-color: rgb(31,12,118); }
td.TdClassName
{
border-color: #1F0C76;
}
.TagClassName
{
border-color: #1F0C76;
}
</style>