Shades of Midnight Blue #1F2180
Tints of Midnight Blue #1F2180
RGB
CMYK
RGB Variations
Color information
#1F2180 (or 0x1F2180) is known color: Midnight Blue. HEX triplet: 1F, 21 and 80. RGB value is (31,33,128). Sum of RGB (Red+Green+Blue) = 31+33+128=192 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.15% from 192); Green value is 33 (13.28% from 255 or 17.19% from 192); Blue value is 128 (50.39% from 255 or 66.67% from 192); Max value from RGB is 128 - color contains mainly: blue. Hex color #1F2180 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F2180 is #E0DE7F. Grayscale: #2A2A2A. Windows color (decimal): -14737024 or 8397087. OLE color: 8397087.
HSL color Cylindrical-coordinate representation of color #1F2180: hue angle of 238.76º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F2180 is Cyan = 0.76, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 31 | 33 | 128 | - |
| CMYK | 0.76 | 0.74 | 0 | 0.50 |
| HSL | 238.76º | 0.61% | 0.31% | - |
| HSV(B) | 238.76º | 0.76% | 0.5% | - |
| XYZ | 5.01 | 2.94 | 20.73 | - |
| YUV | 43.23 | 175.84 | 119.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 33 | 128 | 0.76 | 0.74 | 0 | 0.50 | 238.76 | 0.61 | 0.31 |
| Hex | 1F | 21 | 80 | 4C | 4A | 0 | 32 | EF | 3D | 1F |
| Octal | 37 | 41 | 200 | 114 | 112 | 0 | 62 | 357 | 75 | 37 |
| Binary | 11111 | 100001 | 10000000 | 1001100 | 1001010 | 0 | 110010 | 11101111 | 111101 | 11111 |
Color Harmonies of #1F2180
Complementary color
Monochromatic Colors of #1F2180
Black with #1F2180
Text Example
Text Example
White with #1F2180
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2180; }
p { color: rgb(31,33,128); }
H1.HeaderClassName
{
color: #1F2180;
}
.AnyTagClassName
{
color: #1F2180;
}
</style>
background-color css
<style>
a { background-color: #1F2180; }
a { background-color: rgb(31,33,128); }
div.DivClassName
{
background-color: #1F2180;
}
.BgClassName
{
background-color: #1F2180;
}
</style>
border-color css
<style>
span { border-color: #1F2180; }
span { border-color: rgb(31,33,128); }
td.TdClassName
{
border-color: #1F2180;
}
.TagClassName
{
border-color: #1F2180;
}
</style>