Shades of Midnight Blue #1F2987
Tints of Midnight Blue #1F2987
RGB
CMYK
RGB Variations
Color information
#1F2987 (or 0x1F2987) is known color: Midnight Blue. HEX triplet: 1F, 29 and 87. RGB value is (31,41,135). Sum of RGB (Red+Green+Blue) = 31+41+135=207 (27% of max value = 765). Red value is 31 (12.5% from 255 or 14.98% from 207); Green value is 41 (16.41% from 255 or 19.81% from 207); Blue value is 135 (53.12% from 255 or 65.22% from 207); Max value from RGB is 135 - color contains mainly: blue. Hex color #1F2987 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F2987 is #E0D678. Grayscale: #303030. Windows color (decimal): -14734969 or 8857887. OLE color: 8857887.
HSL color Cylindrical-coordinate representation of color #1F2987: hue angle of 234.23º degrees, saturation: 0.63, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1F2987 is Cyan = 0.77, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 31 | 41 | 135 | - |
| CMYK | 0.77 | 0.70 | 0 | 0.47 |
| HSL | 234.23º | 0.63% | 0.33% | - |
| HSV(B) | 234.23º | 0.77% | 0.53% | - |
| XYZ | 5.73 | 3.63 | 23.32 | - |
| YUV | 48.73 | 176.69 | 115.36 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 41 | 135 | 0.77 | 0.70 | 0 | 0.47 | 234.23 | 0.63 | 0.33 |
| Hex | 1F | 29 | 87 | 4D | 46 | 0 | 2F | EA | 3F | 21 |
| Octal | 37 | 51 | 207 | 115 | 106 | 0 | 57 | 352 | 77 | 41 |
| Binary | 11111 | 101001 | 10000111 | 1001101 | 1000110 | 0 | 101111 | 11101010 | 111111 | 100001 |
Color Harmonies of #1F2987
Complementary color
Monochromatic Colors of #1F2987
Black with #1F2987
Text Example
Text Example
White with #1F2987
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2987; }
p { color: rgb(31,41,135); }
H1.HeaderClassName
{
color: #1F2987;
}
.AnyTagClassName
{
color: #1F2987;
}
</style>
background-color css
<style>
a { background-color: #1F2987; }
a { background-color: rgb(31,41,135); }
div.DivClassName
{
background-color: #1F2987;
}
.BgClassName
{
background-color: #1F2987;
}
</style>
border-color css
<style>
span { border-color: #1F2987; }
span { border-color: rgb(31,41,135); }
td.TdClassName
{
border-color: #1F2987;
}
.TagClassName
{
border-color: #1F2987;
}
</style>