Shades of Midnight Blue #1F2971
Tints of Midnight Blue #1F2971
RGB
CMYK
RGB Variations
Color information
#1F2971 (or 0x1F2971) is known color: Midnight Blue. HEX triplet: 1F, 29 and 71. RGB value is (31,41,113). Sum of RGB (Red+Green+Blue) = 31+41+113=185 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.76% from 185); Green value is 41 (16.41% from 255 or 22.16% from 185); Blue value is 113 (44.53% from 255 or 61.08% from 185); Max value from RGB is 113 - color contains mainly: blue. Hex color #1F2971 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2971 is #E0D68E. Grayscale: #2D2D2D. Windows color (decimal): -14734991 or 7416095. OLE color: 7416095.
HSL color Cylindrical-coordinate representation of color #1F2971: hue angle of 232.68º degrees, saturation: 0.57, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #1F2971 is Cyan = 0.73, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 41 | 113 | - |
| CMYK | 0.73 | 0.64 | 0 | 0.56 |
| HSL | 232.68º | 0.57% | 0.28% | - |
| HSV(B) | 232.68º | 0.73% | 0.44% | - |
| XYZ | 4.34 | 3.07 | 15.99 | - |
| YUV | 46.22 | 165.69 | 117.15 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 41 | 113 | 0.73 | 0.64 | 0 | 0.56 | 232.68 | 0.57 | 0.28 |
| Hex | 1F | 29 | 71 | 49 | 40 | 0 | 38 | E9 | 39 | 1C |
| Octal | 37 | 51 | 161 | 111 | 100 | 0 | 70 | 351 | 71 | 34 |
| Binary | 11111 | 101001 | 1110001 | 1001001 | 1000000 | 0 | 111000 | 11101001 | 111001 | 11100 |
Color Harmonies of #1F2971
Complementary color
Monochromatic Colors of #1F2971
Black with #1F2971
Text Example
Text Example
White with #1F2971
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2971; }
p { color: rgb(31,41,113); }
H1.HeaderClassName
{
color: #1F2971;
}
.AnyTagClassName
{
color: #1F2971;
}
</style>
background-color css
<style>
a { background-color: #1F2971; }
a { background-color: rgb(31,41,113); }
div.DivClassName
{
background-color: #1F2971;
}
.BgClassName
{
background-color: #1F2971;
}
</style>
border-color css
<style>
span { border-color: #1F2971; }
span { border-color: rgb(31,41,113); }
td.TdClassName
{
border-color: #1F2971;
}
.TagClassName
{
border-color: #1F2971;
}
</style>