Shades of Midnight #1D314D
Tints of Midnight #1D314D
RGB
CMYK
RGB Variations
Color information
#1D314D (or 0x1D314D) is known color: Midnight. HEX triplet: 1D, 31 and 4D. RGB value is (29,49,77). Sum of RGB (Red+Green+Blue) = 29+49+77=155 (20% of max value = 765). Red value is 29 (11.72% from 255 or 18.71% from 155); Green value is 49 (19.53% from 255 or 31.61% from 155); Blue value is 77 (30.47% from 255 or 49.68% from 155); Max value from RGB is 77 - color contains mainly: blue. Hex color #1D314D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1D314D is #E2CEB2. Grayscale: #2E2E2E. Windows color (decimal): -14864051 or 5058845. OLE color: 5058845.
HSL color Cylindrical-coordinate representation of color #1D314D: hue angle of 215º degrees, saturation: 0.45, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.62%. Process color model (Four color, CMYK) of #1D314D is Cyan = 0.62, Magento = 0.36, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 29 | 49 | 77 | - |
| CMYK | 0.62 | 0.36 | 0 | 0.70 |
| HSL | 215º | 0.45% | 0.21% | - |
| HSV(B) | 215º | 0.62% | 0.3% | - |
| XYZ | 2.94 | 2.99 | 7.44 | - |
| YUV | 46.21 | 145.37 | 115.72 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 29 | 49 | 77 | 0.62 | 0.36 | 0 | 0.70 | 215 | 0.45 | 0.21 |
| Hex | 1D | 31 | 4D | 3E | 24 | 0 | 46 | D7 | 2D | 15 |
| Octal | 35 | 61 | 115 | 76 | 44 | 0 | 106 | 327 | 55 | 25 |
| Binary | 11101 | 110001 | 1001101 | 111110 | 100100 | 0 | 1000110 | 11010111 | 101101 | 10101 |
Color Harmonies of #1D314D
Complementary color
Monochromatic Colors of #1D314D
Black with #1D314D
Text Example
Text Example
White with #1D314D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1D314D; }
p { color: rgb(29,49,77); }
H1.HeaderClassName
{
color: #1D314D;
}
.AnyTagClassName
{
color: #1D314D;
}
</style>
background-color css
<style>
a { background-color: #1D314D; }
a { background-color: rgb(29,49,77); }
div.DivClassName
{
background-color: #1D314D;
}
.BgClassName
{
background-color: #1D314D;
}
</style>
border-color css
<style>
span { border-color: #1D314D; }
span { border-color: rgb(29,49,77); }
td.TdClassName
{
border-color: #1D314D;
}
.TagClassName
{
border-color: #1D314D;
}
</style>