Shades of Midnight Blue #1F2978
Tints of Midnight Blue #1F2978
RGB
CMYK
RGB Variations
Color information
#1F2978 (or 0x1F2978) is known color: Midnight Blue. HEX triplet: 1F, 29 and 78. RGB value is (31,41,120). Sum of RGB (Red+Green+Blue) = 31+41+120=192 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.15% from 192); Green value is 41 (16.41% from 255 or 21.35% from 192); Blue value is 120 (47.27% from 255 or 62.5% from 192); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F2978 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2978 is #E0D687. Grayscale: #2E2E2E. Windows color (decimal): -14734984 or 7874847. OLE color: 7874847.
HSL color Cylindrical-coordinate representation of color #1F2978: hue angle of 233.26º 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 #1F2978 is Cyan = 0.74, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 41 | 120 | - |
| CMYK | 0.74 | 0.66 | 0 | 0.53 |
| HSL | 233.26º | 0.59% | 0.3% | - |
| HSV(B) | 233.26º | 0.74% | 0.47% | - |
| XYZ | 4.75 | 3.23 | 18.14 | - |
| YUV | 47.02 | 169.19 | 116.58 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 41 | 120 | 0.74 | 0.66 | 0 | 0.53 | 233.26 | 0.59 | 0.3 |
| Hex | 1F | 29 | 78 | 4A | 42 | 0 | 35 | E9 | 3B | 1E |
| Octal | 37 | 51 | 170 | 112 | 102 | 0 | 65 | 351 | 73 | 36 |
| Binary | 11111 | 101001 | 1111000 | 1001010 | 1000010 | 0 | 110101 | 11101001 | 111011 | 11110 |
Color Harmonies of #1F2978
Complementary color
Monochromatic Colors of #1F2978
Black with #1F2978
Text Example
Text Example
White with #1F2978
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2978; }
p { color: rgb(31,41,120); }
H1.HeaderClassName
{
color: #1F2978;
}
.AnyTagClassName
{
color: #1F2978;
}
</style>
background-color css
<style>
a { background-color: #1F2978; }
a { background-color: rgb(31,41,120); }
div.DivClassName
{
background-color: #1F2978;
}
.BgClassName
{
background-color: #1F2978;
}
</style>
border-color css
<style>
span { border-color: #1F2978; }
span { border-color: rgb(31,41,120); }
td.TdClassName
{
border-color: #1F2978;
}
.TagClassName
{
border-color: #1F2978;
}
</style>