Shades of Midnight Blue #1F117A
Tints of Midnight Blue #1F117A
RGB
CMYK
RGB Variations
Color information
#1F117A (or 0x1F117A) is known color: Midnight Blue. HEX triplet: 1F, 11 and 7A. RGB value is (31,17,122). Sum of RGB (Red+Green+Blue) = 31+17+122=170 (22% of max value = 765). Red value is 31 (12.5% from 255 or 18.24% from 170); Green value is 17 (7.03% from 255 or 10% from 170); Blue value is 122 (48.05% from 255 or 71.76% from 170); Max value from RGB is 122 - color contains mainly: blue. Hex color #1F117A is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F117A is #E0EE85. Grayscale: #202020. Windows color (decimal): -14741126 or 7999775. OLE color: 7999775.
HSL color Cylindrical-coordinate representation of color #1F117A: hue angle of 248º degrees, saturation: 0.76, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.86%. Process color model (Four color, CMYK) of #1F117A is Cyan = 0.75, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 17 | 122 | - |
| CMYK | 0.75 | 0.86 | 0 | 0.52 |
| HSL | 248º | 0.76% | 0.27% | - |
| HSV(B) | 248º | 0.86% | 0.48% | - |
| XYZ | 4.28 | 2.1 | 18.59 | - |
| YUV | 33.16 | 178.14 | 126.46 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 17 | 122 | 0.75 | 0.86 | 0 | 0.52 | 248 | 0.76 | 0.27 |
| Hex | 1F | 11 | 7A | 4B | 56 | 0 | 34 | F8 | 4C | 1B |
| Octal | 37 | 21 | 172 | 113 | 126 | 0 | 64 | 370 | 114 | 33 |
| Binary | 11111 | 10001 | 1111010 | 1001011 | 1010110 | 0 | 110100 | 11111000 | 1001100 | 11011 |
Color Harmonies of #1F117A
Complementary color
Monochromatic Colors of #1F117A
Black with #1F117A
Text Example
Text Example
White with #1F117A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F117A; }
p { color: rgb(31,17,122); }
H1.HeaderClassName
{
color: #1F117A;
}
.AnyTagClassName
{
color: #1F117A;
}
</style>
background-color css
<style>
a { background-color: #1F117A; }
a { background-color: rgb(31,17,122); }
div.DivClassName
{
background-color: #1F117A;
}
.BgClassName
{
background-color: #1F117A;
}
</style>
border-color css
<style>
span { border-color: #1F117A; }
span { border-color: rgb(31,17,122); }
td.TdClassName
{
border-color: #1F117A;
}
.TagClassName
{
border-color: #1F117A;
}
</style>