Shades of Midnight Blue #1F1668
Tints of Midnight Blue #1F1668
RGB
CMYK
RGB Variations
Color information
#1F1668 (or 0x1F1668) is known color: Midnight Blue. HEX triplet: 1F, 16 and 68. RGB value is (31,22,104). Sum of RGB (Red+Green+Blue) = 31+22+104=157 (20% of max value = 765). Red value is 31 (12.5% from 255 or 19.75% from 157); Green value is 22 (8.98% from 255 or 14.01% from 157); Blue value is 104 (41.02% from 255 or 66.24% from 157); Max value from RGB is 104 - color contains mainly: blue. Hex color #1F1668 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1668 is #E0E997. Grayscale: #212121. Windows color (decimal): -14739864 or 6821407. OLE color: 6821407.
HSL color Cylindrical-coordinate representation of color #1F1668: hue angle of 246.59º degrees, saturation: 0.65, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.41% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #1F1668 is Cyan = 0.70, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.59.
Color convert
| RGB | 31 | 22 | 104 | - |
| CMYK | 0.70 | 0.79 | 0 | 0.59 |
| HSL | 246.59º | 0.65% | 0.25% | - |
| HSV(B) | 246.59º | 0.79% | 0.41% | - |
| XYZ | 3.35 | 1.86 | 13.28 | - |
| YUV | 34.04 | 167.48 | 125.83 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 22 | 104 | 0.70 | 0.79 | 0 | 0.59 | 246.59 | 0.65 | 0.25 |
| Hex | 1F | 16 | 68 | 46 | 4F | 0 | 3B | F7 | 41 | 19 |
| Octal | 37 | 26 | 150 | 106 | 117 | 0 | 73 | 367 | 101 | 31 |
| Binary | 11111 | 10110 | 1101000 | 1000110 | 1001111 | 0 | 111011 | 11110111 | 1000001 | 11001 |
Color Harmonies of #1F1668
Complementary color
Monochromatic Colors of #1F1668
Black with #1F1668
Text Example
Text Example
White with #1F1668
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1668; }
p { color: rgb(31,22,104); }
H1.HeaderClassName
{
color: #1F1668;
}
.AnyTagClassName
{
color: #1F1668;
}
</style>
background-color css
<style>
a { background-color: #1F1668; }
a { background-color: rgb(31,22,104); }
div.DivClassName
{
background-color: #1F1668;
}
.BgClassName
{
background-color: #1F1668;
}
</style>
border-color css
<style>
span { border-color: #1F1668; }
span { border-color: rgb(31,22,104); }
td.TdClassName
{
border-color: #1F1668;
}
.TagClassName
{
border-color: #1F1668;
}
</style>