Shades of Midnight Blue #1F1771
Tints of Midnight Blue #1F1771
RGB
CMYK
RGB Variations
Color information
#1F1771 (or 0x1F1771) is known color: Midnight Blue. HEX triplet: 1F, 17 and 71. RGB value is (31,23,113). Sum of RGB (Red+Green+Blue) = 31+23+113=167 (22% of max value = 765). Red value is 31 (12.5% from 255 or 18.56% from 167); Green value is 23 (9.38% from 255 or 13.77% from 167); Blue value is 113 (44.53% from 255 or 67.66% from 167); Max value from RGB is 113 - color contains mainly: blue. Hex color #1F1771 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1771 is #E0E88E. Grayscale: #232323. Windows color (decimal): -14739599 or 7411487. OLE color: 7411487.
HSL color Cylindrical-coordinate representation of color #1F1771: hue angle of 245.33º degrees, saturation: 0.66, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #1F1771 is Cyan = 0.73, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 23 | 113 | - |
| CMYK | 0.73 | 0.80 | 0 | 0.56 |
| HSL | 245.33º | 0.66% | 0.27% | - |
| HSV(B) | 245.33º | 0.8% | 0.44% | - |
| XYZ | 3.85 | 2.1 | 15.82 | - |
| YUV | 35.65 | 171.65 | 124.68 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 23 | 113 | 0.73 | 0.80 | 0 | 0.56 | 245.33 | 0.66 | 0.27 |
| Hex | 1F | 17 | 71 | 49 | 50 | 0 | 38 | F5 | 42 | 1B |
| Octal | 37 | 27 | 161 | 111 | 120 | 0 | 70 | 365 | 102 | 33 |
| Binary | 11111 | 10111 | 1110001 | 1001001 | 1010000 | 0 | 111000 | 11110101 | 1000010 | 11011 |
Color Harmonies of #1F1771
Complementary color
Monochromatic Colors of #1F1771
Black with #1F1771
Text Example
Text Example
White with #1F1771
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1771; }
p { color: rgb(31,23,113); }
H1.HeaderClassName
{
color: #1F1771;
}
.AnyTagClassName
{
color: #1F1771;
}
</style>
background-color css
<style>
a { background-color: #1F1771; }
a { background-color: rgb(31,23,113); }
div.DivClassName
{
background-color: #1F1771;
}
.BgClassName
{
background-color: #1F1771;
}
</style>
border-color css
<style>
span { border-color: #1F1771; }
span { border-color: rgb(31,23,113); }
td.TdClassName
{
border-color: #1F1771;
}
.TagClassName
{
border-color: #1F1771;
}
</style>