Shades of Midnight Blue #1F2970
Tints of Midnight Blue #1F2970
RGB
CMYK
RGB Variations
Color information
#1F2970 (or 0x1F2970) is known color: Midnight Blue. HEX triplet: 1F, 29 and 70. RGB value is (31,41,112). Sum of RGB (Red+Green+Blue) = 31+41+112=184 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.85% from 184); Green value is 41 (16.41% from 255 or 22.28% from 184); Blue value is 112 (44.14% from 255 or 60.87% from 184); Max value from RGB is 112 - color contains mainly: blue. Hex color #1F2970 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2970 is #E0D68F. Grayscale: #2D2D2D. Windows color (decimal): -14734992 or 7350559. OLE color: 7350559.
HSL color Cylindrical-coordinate representation of color #1F2970: hue angle of 232.59º degrees, saturation: 0.57, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #1F2970 is Cyan = 0.72, Magento = 0.63, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 41 | 112 | - |
| CMYK | 0.72 | 0.63 | 0 | 0.56 |
| HSL | 232.59º | 0.57% | 0.28% | - |
| HSV(B) | 232.59º | 0.72% | 0.44% | - |
| XYZ | 4.28 | 3.05 | 15.69 | - |
| YUV | 46.1 | 165.19 | 117.23 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 41 | 112 | 0.72 | 0.63 | 0 | 0.56 | 232.59 | 0.57 | 0.28 |
| Hex | 1F | 29 | 70 | 48 | 3F | 0 | 38 | E9 | 39 | 1C |
| Octal | 37 | 51 | 160 | 110 | 77 | 0 | 70 | 351 | 71 | 34 |
| Binary | 11111 | 101001 | 1110000 | 1001000 | 111111 | 0 | 111000 | 11101001 | 111001 | 11100 |
Color Harmonies of #1F2970
Complementary color
Monochromatic Colors of #1F2970
Black with #1F2970
Text Example
Text Example
White with #1F2970
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2970; }
p { color: rgb(31,41,112); }
H1.HeaderClassName
{
color: #1F2970;
}
.AnyTagClassName
{
color: #1F2970;
}
</style>
background-color css
<style>
a { background-color: #1F2970; }
a { background-color: rgb(31,41,112); }
div.DivClassName
{
background-color: #1F2970;
}
.BgClassName
{
background-color: #1F2970;
}
</style>
border-color css
<style>
span { border-color: #1F2970; }
span { border-color: rgb(31,41,112); }
td.TdClassName
{
border-color: #1F2970;
}
.TagClassName
{
border-color: #1F2970;
}
</style>