Shades of Midnight Blue #1F2579
Tints of Midnight Blue #1F2579
RGB
CMYK
RGB Variations
Color information
#1F2579 (or 0x1F2579) is known color: Midnight Blue. HEX triplet: 1F, 25 and 79. RGB value is (31,37,121). Sum of RGB (Red+Green+Blue) = 31+37+121=189 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.40% from 189); Green value is 37 (14.84% from 255 or 19.58% from 189); Blue value is 121 (47.66% from 255 or 64.02% from 189); Max value from RGB is 121 - color contains mainly: blue. Hex color #1F2579 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2579 is #E0DA86. Grayscale: #2C2C2C. Windows color (decimal): -14736007 or 7939359. OLE color: 7939359.
HSL color Cylindrical-coordinate representation of color #1F2579: hue angle of 236º 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 #1F2579 is Cyan = 0.74, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 37 | 121 | - |
| CMYK | 0.74 | 0.69 | 0 | 0.53 |
| HSL | 236º | 0.59% | 0.3% | - |
| HSV(B) | 236º | 0.74% | 0.47% | - |
| XYZ | 4.68 | 2.99 | 18.42 | - |
| YUV | 44.78 | 171.01 | 118.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 37 | 121 | 0.74 | 0.69 | 0 | 0.53 | 236 | 0.59 | 0.3 |
| Hex | 1F | 25 | 79 | 4A | 45 | 0 | 35 | EC | 3B | 1E |
| Octal | 37 | 45 | 171 | 112 | 105 | 0 | 65 | 354 | 73 | 36 |
| Binary | 11111 | 100101 | 1111001 | 1001010 | 1000101 | 0 | 110101 | 11101100 | 111011 | 11110 |
Color Harmonies of #1F2579
Complementary color
Monochromatic Colors of #1F2579
Black with #1F2579
Text Example
Text Example
White with #1F2579
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2579; }
p { color: rgb(31,37,121); }
H1.HeaderClassName
{
color: #1F2579;
}
.AnyTagClassName
{
color: #1F2579;
}
</style>
background-color css
<style>
a { background-color: #1F2579; }
a { background-color: rgb(31,37,121); }
div.DivClassName
{
background-color: #1F2579;
}
.BgClassName
{
background-color: #1F2579;
}
</style>
border-color css
<style>
span { border-color: #1F2579; }
span { border-color: rgb(31,37,121); }
td.TdClassName
{
border-color: #1F2579;
}
.TagClassName
{
border-color: #1F2579;
}
</style>