Shades of Midnight Blue #1F0F5F
Tints of Midnight Blue #1F0F5F
RGB
CMYK
RGB Variations
Color information
#1F0F5F (or 0x1F0F5F) is known color: Midnight Blue. HEX triplet: 1F, 0F and 5F. RGB value is (31,15,95). Sum of RGB (Red+Green+Blue) = 31+15+95=141 (18% of max value = 765). Red value is 31 (12.5% from 255 or 21.99% from 141); Green value is 15 (6.25% from 255 or 10.64% from 141); Blue value is 95 (37.5% from 255 or 67.38% from 141); Max value from RGB is 95 - color contains mainly: blue. Hex color #1F0F5F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F0F5F is #E0F0A0. Grayscale: #1C1C1C. Windows color (decimal): -14741665 or 6229791. OLE color: 6229791.
HSL color Cylindrical-coordinate representation of color #1F0F5F: hue angle of 252º degrees, saturation: 0.73, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #1F0F5F is Cyan = 0.67, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 31 | 15 | 95 | - |
| CMYK | 0.67 | 0.84 | 0 | 0.63 |
| HSL | 252º | 0.73% | 0.22% | - |
| HSV(B) | 252º | 0.84% | 0.37% | - |
| XYZ | 2.8 | 1.46 | 10.96 | - |
| YUV | 28.9 | 165.3 | 129.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 15 | 95 | 0.67 | 0.84 | 0 | 0.63 | 252 | 0.73 | 0.22 |
| Hex | 1F | F | 5F | 43 | 54 | 0 | 3F | FC | 49 | 16 |
| Octal | 37 | 17 | 137 | 103 | 124 | 0 | 77 | 374 | 111 | 26 |
| Binary | 11111 | 1111 | 1011111 | 1000011 | 1010100 | 0 | 111111 | 11111100 | 1001001 | 10110 |
Color Harmonies of #1F0F5F
Complementary color
Monochromatic Colors of #1F0F5F
Black with #1F0F5F
Text Example
Text Example
White with #1F0F5F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F0F5F; }
p { color: rgb(31,15,95); }
H1.HeaderClassName
{
color: #1F0F5F;
}
.AnyTagClassName
{
color: #1F0F5F;
}
</style>
background-color css
<style>
a { background-color: #1F0F5F; }
a { background-color: rgb(31,15,95); }
div.DivClassName
{
background-color: #1F0F5F;
}
.BgClassName
{
background-color: #1F0F5F;
}
</style>
border-color css
<style>
span { border-color: #1F0F5F; }
span { border-color: rgb(31,15,95); }
td.TdClassName
{
border-color: #1F0F5F;
}
.TagClassName
{
border-color: #1F0F5F;
}
</style>