Shades of Midnight Blue #1F2174
Tints of Midnight Blue #1F2174
RGB
CMYK
RGB Variations
Color information
#1F2174 (or 0x1F2174) is known color: Midnight Blue. HEX triplet: 1F, 21 and 74. RGB value is (31,33,116). Sum of RGB (Red+Green+Blue) = 31+33+116=180 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.22% from 180); Green value is 33 (13.28% from 255 or 18.33% from 180); Blue value is 116 (45.70% from 255 or 64.44% from 180); Max value from RGB is 116 - color contains mainly: blue. Hex color #1F2174 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2174 is #E0DE8B. Grayscale: #292929. Windows color (decimal): -14737036 or 7610655. OLE color: 7610655.
HSL color Cylindrical-coordinate representation of color #1F2174: hue angle of 238.59º degrees, saturation: 0.58, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #1F2174 is Cyan = 0.73, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 31 | 33 | 116 | - |
| CMYK | 0.73 | 0.72 | 0 | 0.55 |
| HSL | 238.59º | 0.58% | 0.29% | - |
| HSV(B) | 238.59º | 0.73% | 0.45% | - |
| XYZ | 4.26 | 2.64 | 16.81 | - |
| YUV | 41.86 | 169.84 | 120.25 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 33 | 116 | 0.73 | 0.72 | 0 | 0.55 | 238.59 | 0.58 | 0.29 |
| Hex | 1F | 21 | 74 | 49 | 48 | 0 | 37 | EF | 3A | 1D |
| Octal | 37 | 41 | 164 | 111 | 110 | 0 | 67 | 357 | 72 | 35 |
| Binary | 11111 | 100001 | 1110100 | 1001001 | 1001000 | 0 | 110111 | 11101111 | 111010 | 11101 |
Color Harmonies of #1F2174
Complementary color
Monochromatic Colors of #1F2174
Black with #1F2174
Text Example
Text Example
White with #1F2174
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2174; }
p { color: rgb(31,33,116); }
H1.HeaderClassName
{
color: #1F2174;
}
.AnyTagClassName
{
color: #1F2174;
}
</style>
background-color css
<style>
a { background-color: #1F2174; }
a { background-color: rgb(31,33,116); }
div.DivClassName
{
background-color: #1F2174;
}
.BgClassName
{
background-color: #1F2174;
}
</style>
border-color css
<style>
span { border-color: #1F2174; }
span { border-color: rgb(31,33,116); }
td.TdClassName
{
border-color: #1F2174;
}
.TagClassName
{
border-color: #1F2174;
}
</style>