Shades of Midnight Blue #1F2171
Tints of Midnight Blue #1F2171
RGB
CMYK
RGB Variations
Color information
#1F2171 (or 0x1F2171) is known color: Midnight Blue. HEX triplet: 1F, 21 and 71. RGB value is (31,33,113). Sum of RGB (Red+Green+Blue) = 31+33+113=177 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.51% from 177); Green value is 33 (13.28% from 255 or 18.64% from 177); Blue value is 113 (44.53% from 255 or 63.84% from 177); Max value from RGB is 113 - color contains mainly: blue. Hex color #1F2171 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2171 is #E0DE8E. Grayscale: #292929. Windows color (decimal): -14737039 or 7414047. OLE color: 7414047.
HSL color Cylindrical-coordinate representation of color #1F2171: hue angle of 238.54º 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 #1F2171 is Cyan = 0.73, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 33 | 113 | - |
| CMYK | 0.73 | 0.71 | 0 | 0.56 |
| HSL | 238.54º | 0.57% | 0.28% | - |
| HSV(B) | 238.54º | 0.73% | 0.44% | - |
| XYZ | 4.09 | 2.57 | 15.9 | - |
| YUV | 41.52 | 168.34 | 120.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 33 | 113 | 0.73 | 0.71 | 0 | 0.56 | 238.54 | 0.57 | 0.28 |
| Hex | 1F | 21 | 71 | 49 | 47 | 0 | 38 | EF | 39 | 1C |
| Octal | 37 | 41 | 161 | 111 | 107 | 0 | 70 | 357 | 71 | 34 |
| Binary | 11111 | 100001 | 1110001 | 1001001 | 1000111 | 0 | 111000 | 11101111 | 111001 | 11100 |
Color Harmonies of #1F2171
Complementary color
Monochromatic Colors of #1F2171
Black with #1F2171
Text Example
Text Example
White with #1F2171
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2171; }
p { color: rgb(31,33,113); }
H1.HeaderClassName
{
color: #1F2171;
}
.AnyTagClassName
{
color: #1F2171;
}
</style>
background-color css
<style>
a { background-color: #1F2171; }
a { background-color: rgb(31,33,113); }
div.DivClassName
{
background-color: #1F2171;
}
.BgClassName
{
background-color: #1F2171;
}
</style>
border-color css
<style>
span { border-color: #1F2171; }
span { border-color: rgb(31,33,113); }
td.TdClassName
{
border-color: #1F2171;
}
.TagClassName
{
border-color: #1F2171;
}
</style>