Shades of Midnight Blue #1F1D78
Tints of Midnight Blue #1F1D78
RGB
CMYK
RGB Variations
Color information
#1F1D78 (or 0x1F1D78) is known color: Midnight Blue. HEX triplet: 1F, 1D and 78. RGB value is (31,29,120). Sum of RGB (Red+Green+Blue) = 31+29+120=180 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.22% from 180); Green value is 29 (11.72% from 255 or 16.11% from 180); Blue value is 120 (47.27% from 255 or 66.67% from 180); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F1D78 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1D78 is #E0E287. Grayscale: #272727. Windows color (decimal): -14738056 or 7871775. OLE color: 7871775.
HSL color Cylindrical-coordinate representation of color #1F1D78: hue angle of 241.32º degrees, saturation: 0.61, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F1D78 is Cyan = 0.74, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 29 | 120 | - |
| CMYK | 0.74 | 0.76 | 0 | 0.53 |
| HSL | 241.32º | 0.61% | 0.29% | - |
| HSV(B) | 241.32º | 0.76% | 0.47% | - |
| XYZ | 4.39 | 2.53 | 18.03 | - |
| YUV | 39.97 | 173.16 | 121.6 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 29 | 120 | 0.74 | 0.76 | 0 | 0.53 | 241.32 | 0.61 | 0.29 |
| Hex | 1F | 1D | 78 | 4A | 4C | 0 | 35 | F1 | 3D | 1D |
| Octal | 37 | 35 | 170 | 112 | 114 | 0 | 65 | 361 | 75 | 35 |
| Binary | 11111 | 11101 | 1111000 | 1001010 | 1001100 | 0 | 110101 | 11110001 | 111101 | 11101 |
Color Harmonies of #1F1D78
Complementary color
Monochromatic Colors of #1F1D78
Black with #1F1D78
Text Example
Text Example
White with #1F1D78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1D78; }
p { color: rgb(31,29,120); }
H1.HeaderClassName
{
color: #1F1D78;
}
.AnyTagClassName
{
color: #1F1D78;
}
</style>
background-color css
<style>
a { background-color: #1F1D78; }
a { background-color: rgb(31,29,120); }
div.DivClassName
{
background-color: #1F1D78;
}
.BgClassName
{
background-color: #1F1D78;
}
</style>
border-color css
<style>
span { border-color: #1F1D78; }
span { border-color: rgb(31,29,120); }
td.TdClassName
{
border-color: #1F1D78;
}
.TagClassName
{
border-color: #1F1D78;
}
</style>