Shades of Midnight Blue #1F2D74
Tints of Midnight Blue #1F2D74
RGB
CMYK
RGB Variations
Color information
#1F2D74 (or 0x1F2D74) is known color: Midnight Blue. HEX triplet: 1F, 2D and 74. RGB value is (31,45,116). Sum of RGB (Red+Green+Blue) = 31+45+116=192 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.15% from 192); Green value is 45 (17.97% from 255 or 23.44% from 192); Blue value is 116 (45.70% from 255 or 60.42% from 192); Max value from RGB is 116 - color contains mainly: blue. Hex color #1F2D74 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2D74 is #E0D28B. Grayscale: #303030. Windows color (decimal): -14733964 or 7613727. OLE color: 7613727.
HSL color Cylindrical-coordinate representation of color #1F2D74: hue angle of 230.12º 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 #1F2D74 is Cyan = 0.73, Magento = 0.61, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 31 | 45 | 116 | - |
| CMYK | 0.73 | 0.61 | 0 | 0.55 |
| HSL | 230.12º | 0.58% | 0.29% | - |
| HSV(B) | 230.12º | 0.73% | 0.45% | - |
| XYZ | 4.66 | 3.43 | 16.94 | - |
| YUV | 48.91 | 165.86 | 115.23 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 45 | 116 | 0.73 | 0.61 | 0 | 0.55 | 230.12 | 0.58 | 0.29 |
| Hex | 1F | 2D | 74 | 49 | 3D | 0 | 37 | E6 | 3A | 1D |
| Octal | 37 | 55 | 164 | 111 | 75 | 0 | 67 | 346 | 72 | 35 |
| Binary | 11111 | 101101 | 1110100 | 1001001 | 111101 | 0 | 110111 | 11100110 | 111010 | 11101 |
Color Harmonies of #1F2D74
Complementary color
Monochromatic Colors of #1F2D74
Black with #1F2D74
Text Example
Text Example
White with #1F2D74
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2D74; }
p { color: rgb(31,45,116); }
H1.HeaderClassName
{
color: #1F2D74;
}
.AnyTagClassName
{
color: #1F2D74;
}
</style>
background-color css
<style>
a { background-color: #1F2D74; }
a { background-color: rgb(31,45,116); }
div.DivClassName
{
background-color: #1F2D74;
}
.BgClassName
{
background-color: #1F2D74;
}
</style>
border-color css
<style>
span { border-color: #1F2D74; }
span { border-color: rgb(31,45,116); }
td.TdClassName
{
border-color: #1F2D74;
}
.TagClassName
{
border-color: #1F2D74;
}
</style>