Shades of Midnight Blue #1F1161
Tints of Midnight Blue #1F1161
RGB
CMYK
RGB Variations
Color information
#1F1161 (or 0x1F1161) is known color: Midnight Blue. HEX triplet: 1F, 11 and 61. RGB value is (31,17,97). Sum of RGB (Red+Green+Blue) = 31+17+97=145 (19% of max value = 765). Red value is 31 (12.5% from 255 or 21.38% from 145); Green value is 17 (7.03% from 255 or 11.72% from 145); Blue value is 97 (38.28% from 255 or 66.90% from 145); Max value from RGB is 97 - color contains mainly: blue. Hex color #1F1161 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1161 is #E0EE9E. Grayscale: #1E1E1E. Windows color (decimal): -14741151 or 6361375. OLE color: 6361375.
HSL color Cylindrical-coordinate representation of color #1F1161: hue angle of 250.5º degrees, saturation: 0.7, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.38% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #1F1161 is Cyan = 0.68, Magento = 0.82, Yellow = 0 and Black (K on CMYK) = 0.62.
Color convert
| RGB | 31 | 17 | 97 | - |
| CMYK | 0.68 | 0.82 | 0 | 0.62 |
| HSL | 250.5º | 0.7% | 0.22% | - |
| HSV(B) | 250.5º | 0.82% | 0.38% | - |
| XYZ | 2.92 | 1.56 | 11.46 | - |
| YUV | 30.31 | 165.64 | 128.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 17 | 97 | 0.68 | 0.82 | 0 | 0.62 | 250.5 | 0.7 | 0.22 |
| Hex | 1F | 11 | 61 | 44 | 52 | 0 | 3E | FB | 46 | 16 |
| Octal | 37 | 21 | 141 | 104 | 122 | 0 | 76 | 373 | 106 | 26 |
| Binary | 11111 | 10001 | 1100001 | 1000100 | 1010010 | 0 | 111110 | 11111011 | 1000110 | 10110 |
Color Harmonies of #1F1161
Complementary color
Monochromatic Colors of #1F1161
Black with #1F1161
Text Example
Text Example
White with #1F1161
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1161; }
p { color: rgb(31,17,97); }
H1.HeaderClassName
{
color: #1F1161;
}
.AnyTagClassName
{
color: #1F1161;
}
</style>
background-color css
<style>
a { background-color: #1F1161; }
a { background-color: rgb(31,17,97); }
div.DivClassName
{
background-color: #1F1161;
}
.BgClassName
{
background-color: #1F1161;
}
</style>
border-color css
<style>
span { border-color: #1F1161; }
span { border-color: rgb(31,17,97); }
td.TdClassName
{
border-color: #1F1161;
}
.TagClassName
{
border-color: #1F1161;
}
</style>