Shades of Midnight Blue #1F166F
Tints of Midnight Blue #1F166F
RGB
CMYK
RGB Variations
Color information
#1F166F (or 0x1F166F) is known color: Midnight Blue. HEX triplet: 1F, 16 and 6F. RGB value is (31,22,111). Sum of RGB (Red+Green+Blue) = 31+22+111=164 (21% of max value = 765). Red value is 31 (12.5% from 255 or 18.90% from 164); Green value is 22 (8.98% from 255 or 13.41% from 164); Blue value is 111 (43.75% from 255 or 67.68% from 164); Max value from RGB is 111 - color contains mainly: blue. Hex color #1F166F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F166F is #E0E990. Grayscale: #222222. Windows color (decimal): -14739857 or 7280159. OLE color: 7280159.
HSL color Cylindrical-coordinate representation of color #1F166F: hue angle of 246.07º degrees, saturation: 0.67, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #1F166F is Cyan = 0.72, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 22 | 111 | - |
| CMYK | 0.72 | 0.80 | 0 | 0.56 |
| HSL | 246.07º | 0.67% | 0.26% | - |
| HSV(B) | 246.07º | 0.8% | 0.44% | - |
| XYZ | 3.72 | 2.01 | 15.23 | - |
| YUV | 34.84 | 170.98 | 125.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 22 | 111 | 0.72 | 0.80 | 0 | 0.56 | 246.07 | 0.67 | 0.26 |
| Hex | 1F | 16 | 6F | 48 | 50 | 0 | 38 | F6 | 43 | 1A |
| Octal | 37 | 26 | 157 | 110 | 120 | 0 | 70 | 366 | 103 | 32 |
| Binary | 11111 | 10110 | 1101111 | 1001000 | 1010000 | 0 | 111000 | 11110110 | 1000011 | 11010 |
Color Harmonies of #1F166F
Complementary color
Monochromatic Colors of #1F166F
Black with #1F166F
Text Example
Text Example
White with #1F166F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F166F; }
p { color: rgb(31,22,111); }
H1.HeaderClassName
{
color: #1F166F;
}
.AnyTagClassName
{
color: #1F166F;
}
</style>
background-color css
<style>
a { background-color: #1F166F; }
a { background-color: rgb(31,22,111); }
div.DivClassName
{
background-color: #1F166F;
}
.BgClassName
{
background-color: #1F166F;
}
</style>
border-color css
<style>
span { border-color: #1F166F; }
span { border-color: rgb(31,22,111); }
td.TdClassName
{
border-color: #1F166F;
}
.TagClassName
{
border-color: #1F166F;
}
</style>