Shades of Midnight Blue #1F1671
Tints of Midnight Blue #1F1671
RGB
CMYK
RGB Variations
Color information
#1F1671 (or 0x1F1671) is known color: Midnight Blue. HEX triplet: 1F, 16 and 71. RGB value is (31,22,113). Sum of RGB (Red+Green+Blue) = 31+22+113=166 (21% of max value = 765). Red value is 31 (12.5% from 255 or 18.67% from 166); Green value is 22 (8.98% from 255 or 13.25% from 166); Blue value is 113 (44.53% from 255 or 68.07% from 166); Max value from RGB is 113 - color contains mainly: blue. Hex color #1F1671 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1671 is #E0E98E. Grayscale: #222222. Windows color (decimal): -14739855 or 7411231. OLE color: 7411231.
HSL color Cylindrical-coordinate representation of color #1F1671: hue angle of 245.93º degrees, saturation: 0.67, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #1F1671 is Cyan = 0.73, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 22 | 113 | - |
| CMYK | 0.73 | 0.81 | 0 | 0.56 |
| HSL | 245.93º | 0.67% | 0.26% | - |
| HSV(B) | 245.93º | 0.81% | 0.44% | - |
| XYZ | 3.83 | 2.06 | 15.82 | - |
| YUV | 35.07 | 171.98 | 125.1 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 22 | 113 | 0.73 | 0.81 | 0 | 0.56 | 245.93 | 0.67 | 0.26 |
| Hex | 1F | 16 | 71 | 49 | 51 | 0 | 38 | F6 | 43 | 1A |
| Octal | 37 | 26 | 161 | 111 | 121 | 0 | 70 | 366 | 103 | 32 |
| Binary | 11111 | 10110 | 1110001 | 1001001 | 1010001 | 0 | 111000 | 11110110 | 1000011 | 11010 |
Color Harmonies of #1F1671
Complementary color
Monochromatic Colors of #1F1671
Black with #1F1671
Text Example
Text Example
White with #1F1671
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1671; }
p { color: rgb(31,22,113); }
H1.HeaderClassName
{
color: #1F1671;
}
.AnyTagClassName
{
color: #1F1671;
}
</style>
background-color css
<style>
a { background-color: #1F1671; }
a { background-color: rgb(31,22,113); }
div.DivClassName
{
background-color: #1F1671;
}
.BgClassName
{
background-color: #1F1671;
}
</style>
border-color css
<style>
span { border-color: #1F1671; }
span { border-color: rgb(31,22,113); }
td.TdClassName
{
border-color: #1F1671;
}
.TagClassName
{
border-color: #1F1671;
}
</style>