Shades of Midnight Blue #1F1271
Tints of Midnight Blue #1F1271
RGB
CMYK
RGB Variations
Color information
#1F1271 (or 0x1F1271) is known color: Midnight Blue. HEX triplet: 1F, 12 and 71. RGB value is (31,18,113). Sum of RGB (Red+Green+Blue) = 31+18+113=162 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.14% from 162); Green value is 18 (7.42% from 255 or 11.11% from 162); Blue value is 113 (44.53% from 255 or 69.75% from 162); Max value from RGB is 113 - color contains mainly: blue. Hex color #1F1271 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1271 is #E0ED8E. Grayscale: #202020. Windows color (decimal): -14740879 or 7410207. OLE color: 7410207.
HSL color Cylindrical-coordinate representation of color #1F1271: hue angle of 248.21º degrees, saturation: 0.73, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #1F1271 is Cyan = 0.73, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 18 | 113 | - |
| CMYK | 0.73 | 0.84 | 0 | 0.56 |
| HSL | 248.21º | 0.73% | 0.26% | - |
| HSV(B) | 248.21º | 0.84% | 0.44% | - |
| XYZ | 3.76 | 1.92 | 15.79 | - |
| YUV | 32.72 | 173.31 | 126.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 18 | 113 | 0.73 | 0.84 | 0 | 0.56 | 248.21 | 0.73 | 0.26 |
| Hex | 1F | 12 | 71 | 49 | 54 | 0 | 38 | F8 | 49 | 1A |
| Octal | 37 | 22 | 161 | 111 | 124 | 0 | 70 | 370 | 111 | 32 |
| Binary | 11111 | 10010 | 1110001 | 1001001 | 1010100 | 0 | 111000 | 11111000 | 1001001 | 11010 |
Color Harmonies of #1F1271
Complementary color
Monochromatic Colors of #1F1271
Black with #1F1271
Text Example
Text Example
White with #1F1271
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1271; }
p { color: rgb(31,18,113); }
H1.HeaderClassName
{
color: #1F1271;
}
.AnyTagClassName
{
color: #1F1271;
}
</style>
background-color css
<style>
a { background-color: #1F1271; }
a { background-color: rgb(31,18,113); }
div.DivClassName
{
background-color: #1F1271;
}
.BgClassName
{
background-color: #1F1271;
}
</style>
border-color css
<style>
span { border-color: #1F1271; }
span { border-color: rgb(31,18,113); }
td.TdClassName
{
border-color: #1F1271;
}
.TagClassName
{
border-color: #1F1271;
}
</style>