Shades of Midnight Blue #1F1D7F
Tints of Midnight Blue #1F1D7F
RGB
CMYK
RGB Variations
Color information
#1F1D7F (or 0x1F1D7F) is known color: Midnight Blue. HEX triplet: 1F, 1D and 7F. RGB value is (31,29,127). Sum of RGB (Red+Green+Blue) = 31+29+127=187 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.58% from 187); Green value is 29 (11.72% from 255 or 15.51% from 187); Blue value is 127 (50% from 255 or 67.91% from 187); Max value from RGB is 127 - color contains mainly: blue. Hex color #1F1D7F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1D7F is #E0E280. Grayscale: #282828. Windows color (decimal): -14738049 or 8330527. OLE color: 8330527.
HSL color Cylindrical-coordinate representation of color #1F1D7F: hue angle of 241.22º degrees, saturation: 0.63, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1F1D7F is Cyan = 0.76, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 31 | 29 | 127 | - |
| CMYK | 0.76 | 0.77 | 0 | 0.50 |
| HSL | 241.22º | 0.63% | 0.31% | - |
| HSV(B) | 241.22º | 0.77% | 0.5% | - |
| XYZ | 4.84 | 2.7 | 20.35 | - |
| YUV | 40.77 | 176.66 | 121.03 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 29 | 127 | 0.76 | 0.77 | 0 | 0.50 | 241.22 | 0.63 | 0.31 |
| Hex | 1F | 1D | 7F | 4C | 4D | 0 | 32 | F1 | 3F | 1F |
| Octal | 37 | 35 | 177 | 114 | 115 | 0 | 62 | 361 | 77 | 37 |
| Binary | 11111 | 11101 | 1111111 | 1001100 | 1001101 | 0 | 110010 | 11110001 | 111111 | 11111 |
Color Harmonies of #1F1D7F
Complementary color
Monochromatic Colors of #1F1D7F
Black with #1F1D7F
Text Example
Text Example
White with #1F1D7F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1D7F; }
p { color: rgb(31,29,127); }
H1.HeaderClassName
{
color: #1F1D7F;
}
.AnyTagClassName
{
color: #1F1D7F;
}
</style>
background-color css
<style>
a { background-color: #1F1D7F; }
a { background-color: rgb(31,29,127); }
div.DivClassName
{
background-color: #1F1D7F;
}
.BgClassName
{
background-color: #1F1D7F;
}
</style>
border-color css
<style>
span { border-color: #1F1D7F; }
span { border-color: rgb(31,29,127); }
td.TdClassName
{
border-color: #1F1D7F;
}
.TagClassName
{
border-color: #1F1D7F;
}
</style>