Shades of Midnight Blue #1F2770
Tints of Midnight Blue #1F2770
RGB
CMYK
RGB Variations
Color information
#1F2770 (or 0x1F2770) is known color: Midnight Blue. HEX triplet: 1F, 27 and 70. RGB value is (31,39,112). Sum of RGB (Red+Green+Blue) = 31+39+112=182 (24% of max value = 765). Red value is 31 (12.5% from 255 or 17.03% from 182); Green value is 39 (15.62% from 255 or 21.43% from 182); Blue value is 112 (44.14% from 255 or 61.54% from 182); Max value from RGB is 112 - color contains mainly: blue. Hex color #1F2770 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2770 is #E0D88F. Grayscale: #2C2C2C. Windows color (decimal): -14735504 or 7350047. OLE color: 7350047.
HSL color Cylindrical-coordinate representation of color #1F2770: hue angle of 234.07º 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 #1F2770 is Cyan = 0.72, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 39 | 112 | - |
| CMYK | 0.72 | 0.65 | 0 | 0.56 |
| HSL | 234.07º | 0.57% | 0.28% | - |
| HSV(B) | 234.07º | 0.72% | 0.44% | - |
| XYZ | 4.22 | 2.91 | 15.67 | - |
| YUV | 44.93 | 165.85 | 118.06 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 39 | 112 | 0.72 | 0.65 | 0 | 0.56 | 234.07 | 0.57 | 0.28 |
| Hex | 1F | 27 | 70 | 48 | 41 | 0 | 38 | EA | 39 | 1C |
| Octal | 37 | 47 | 160 | 110 | 101 | 0 | 70 | 352 | 71 | 34 |
| Binary | 11111 | 100111 | 1110000 | 1001000 | 1000001 | 0 | 111000 | 11101010 | 111001 | 11100 |
Color Harmonies of #1F2770
Complementary color
Monochromatic Colors of #1F2770
Black with #1F2770
Text Example
Text Example
White with #1F2770
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2770; }
p { color: rgb(31,39,112); }
H1.HeaderClassName
{
color: #1F2770;
}
.AnyTagClassName
{
color: #1F2770;
}
</style>
background-color css
<style>
a { background-color: #1F2770; }
a { background-color: rgb(31,39,112); }
div.DivClassName
{
background-color: #1F2770;
}
.BgClassName
{
background-color: #1F2770;
}
</style>
border-color css
<style>
span { border-color: #1F2770; }
span { border-color: rgb(31,39,112); }
td.TdClassName
{
border-color: #1F2770;
}
.TagClassName
{
border-color: #1F2770;
}
</style>