Shades of Midnight Blue #1F2870
Tints of Midnight Blue #1F2870
RGB
CMYK
RGB Variations
Color information
#1F2870 (or 0x1F2870) is known color: Midnight Blue. HEX triplet: 1F, 28 and 70. RGB value is (31,40,112). Sum of RGB (Red+Green+Blue) = 31+40+112=183 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.94% from 183); Green value is 40 (16.02% from 255 or 21.86% from 183); Blue value is 112 (44.14% from 255 or 61.20% from 183); Max value from RGB is 112 - color contains mainly: blue. Hex color #1F2870 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2870 is #E0D78F. Grayscale: #2D2D2D. Windows color (decimal): -14735248 or 7350303. OLE color: 7350303.
HSL color Cylindrical-coordinate representation of color #1F2870: hue angle of 233.33º 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 #1F2870 is Cyan = 0.72, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 40 | 112 | - |
| CMYK | 0.72 | 0.64 | 0 | 0.56 |
| HSL | 233.33º | 0.57% | 0.28% | - |
| HSV(B) | 233.33º | 0.72% | 0.44% | - |
| XYZ | 4.25 | 2.98 | 15.68 | - |
| YUV | 45.52 | 165.52 | 117.65 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 40 | 112 | 0.72 | 0.64 | 0 | 0.56 | 233.33 | 0.57 | 0.28 |
| Hex | 1F | 28 | 70 | 48 | 40 | 0 | 38 | E9 | 39 | 1C |
| Octal | 37 | 50 | 160 | 110 | 100 | 0 | 70 | 351 | 71 | 34 |
| Binary | 11111 | 101000 | 1110000 | 1001000 | 1000000 | 0 | 111000 | 11101001 | 111001 | 11100 |
Color Harmonies of #1F2870
Complementary color
Monochromatic Colors of #1F2870
Black with #1F2870
Text Example
Text Example
White with #1F2870
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2870; }
p { color: rgb(31,40,112); }
H1.HeaderClassName
{
color: #1F2870;
}
.AnyTagClassName
{
color: #1F2870;
}
</style>
background-color css
<style>
a { background-color: #1F2870; }
a { background-color: rgb(31,40,112); }
div.DivClassName
{
background-color: #1F2870;
}
.BgClassName
{
background-color: #1F2870;
}
</style>
border-color css
<style>
span { border-color: #1F2870; }
span { border-color: rgb(31,40,112); }
td.TdClassName
{
border-color: #1F2870;
}
.TagClassName
{
border-color: #1F2870;
}
</style>