Shades of Midnight Blue #1F2178
Tints of Midnight Blue #1F2178
RGB
CMYK
RGB Variations
Color information
#1F2178 (or 0x1F2178) is known color: Midnight Blue. HEX triplet: 1F, 21 and 78. RGB value is (31,33,120). Sum of RGB (Red+Green+Blue) = 31+33+120=184 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.85% from 184); Green value is 33 (13.28% from 255 or 17.93% from 184); Blue value is 120 (47.27% from 255 or 65.22% from 184); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F2178 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2178 is #E0DE87. Grayscale: #292929. Windows color (decimal): -14737032 or 7872799. OLE color: 7872799.
HSL color Cylindrical-coordinate representation of color #1F2178: hue angle of 238.65º 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 #1F2178 is Cyan = 0.74, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 33 | 120 | - |
| CMYK | 0.74 | 0.72 | 0 | 0.53 |
| HSL | 238.65º | 0.59% | 0.3% | - |
| HSV(B) | 238.65º | 0.74% | 0.47% | - |
| XYZ | 4.5 | 2.74 | 18.06 | - |
| YUV | 42.32 | 171.84 | 119.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 33 | 120 | 0.74 | 0.72 | 0 | 0.53 | 238.65 | 0.59 | 0.3 |
| Hex | 1F | 21 | 78 | 4A | 48 | 0 | 35 | EF | 3B | 1E |
| Octal | 37 | 41 | 170 | 112 | 110 | 0 | 65 | 357 | 73 | 36 |
| Binary | 11111 | 100001 | 1111000 | 1001010 | 1001000 | 0 | 110101 | 11101111 | 111011 | 11110 |
Color Harmonies of #1F2178
Complementary color
Monochromatic Colors of #1F2178
Black with #1F2178
Text Example
Text Example
White with #1F2178
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2178; }
p { color: rgb(31,33,120); }
H1.HeaderClassName
{
color: #1F2178;
}
.AnyTagClassName
{
color: #1F2178;
}
</style>
background-color css
<style>
a { background-color: #1F2178; }
a { background-color: rgb(31,33,120); }
div.DivClassName
{
background-color: #1F2178;
}
.BgClassName
{
background-color: #1F2178;
}
</style>
border-color css
<style>
span { border-color: #1F2178; }
span { border-color: rgb(31,33,120); }
td.TdClassName
{
border-color: #1F2178;
}
.TagClassName
{
border-color: #1F2178;
}
</style>