Shades of Midnight Blue #1F2D79
Tints of Midnight Blue #1F2D79
RGB
CMYK
RGB Variations
Color information
#1F2D79 (or 0x1F2D79) is known color: Midnight Blue. HEX triplet: 1F, 2D and 79. RGB value is (31,45,121). Sum of RGB (Red+Green+Blue) = 31+45+121=197 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.74% from 197); Green value is 45 (17.97% from 255 or 22.84% from 197); Blue value is 121 (47.66% from 255 or 61.42% from 197); Max value from RGB is 121 - color contains mainly: blue. Hex color #1F2D79 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2D79 is #E0D286. Grayscale: #313131. Windows color (decimal): -14733959 or 7941407. OLE color: 7941407.
HSL color Cylindrical-coordinate representation of color #1F2D79: hue angle of 230.67º degrees, saturation: 0.59, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #1F2D79 is Cyan = 0.74, Magento = 0.63, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 45 | 121 | - |
| CMYK | 0.74 | 0.63 | 0 | 0.53 |
| HSL | 230.67º | 0.59% | 0.3% | - |
| HSV(B) | 230.67º | 0.74% | 0.47% | - |
| XYZ | 4.95 | 3.55 | 18.51 | - |
| YUV | 49.48 | 168.36 | 114.82 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 45 | 121 | 0.74 | 0.63 | 0 | 0.53 | 230.67 | 0.59 | 0.3 |
| Hex | 1F | 2D | 79 | 4A | 3F | 0 | 35 | E7 | 3B | 1E |
| Octal | 37 | 55 | 171 | 112 | 77 | 0 | 65 | 347 | 73 | 36 |
| Binary | 11111 | 101101 | 1111001 | 1001010 | 111111 | 0 | 110101 | 11100111 | 111011 | 11110 |
Color Harmonies of #1F2D79
Complementary color
Monochromatic Colors of #1F2D79
Black with #1F2D79
Text Example
Text Example
White with #1F2D79
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2D79; }
p { color: rgb(31,45,121); }
H1.HeaderClassName
{
color: #1F2D79;
}
.AnyTagClassName
{
color: #1F2D79;
}
</style>
background-color css
<style>
a { background-color: #1F2D79; }
a { background-color: rgb(31,45,121); }
div.DivClassName
{
background-color: #1F2D79;
}
.BgClassName
{
background-color: #1F2D79;
}
</style>
border-color css
<style>
span { border-color: #1F2D79; }
span { border-color: rgb(31,45,121); }
td.TdClassName
{
border-color: #1F2D79;
}
.TagClassName
{
border-color: #1F2D79;
}
</style>