Shades of Midnight Blue #1F1766
Tints of Midnight Blue #1F1766
RGB
CMYK
RGB Variations
Color information
#1F1766 (or 0x1F1766) is known color: Midnight Blue. HEX triplet: 1F, 17 and 66. RGB value is (31,23,102). Sum of RGB (Red+Green+Blue) = 31+23+102=156 (20% of max value = 765). Red value is 31 (12.5% from 255 or 19.87% from 156); Green value is 23 (9.38% from 255 or 14.74% from 156); Blue value is 102 (40.23% from 255 or 65.38% from 156); Max value from RGB is 102 - color contains mainly: blue. Hex color #1F1766 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1766 is #E0E899. Grayscale: #222222. Windows color (decimal): -14739610 or 6690591. OLE color: 6690591.
HSL color Cylindrical-coordinate representation of color #1F1766: hue angle of 246.08º degrees, saturation: 0.63, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1F1766 is Cyan = 0.70, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 31 | 23 | 102 | - |
| CMYK | 0.70 | 0.77 | 0 | 0.6 |
| HSL | 246.08º | 0.63% | 0.25% | - |
| HSV(B) | 246.08º | 0.77% | 0.4% | - |
| XYZ | 3.27 | 1.86 | 12.76 | - |
| YUV | 34.4 | 166.15 | 125.58 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 23 | 102 | 0.70 | 0.77 | 0 | 0.6 | 246.08 | 0.63 | 0.25 |
| Hex | 1F | 17 | 66 | 46 | 4D | 0 | 3C | F6 | 3F | 19 |
| Octal | 37 | 27 | 146 | 106 | 115 | 0 | 74 | 366 | 77 | 31 |
| Binary | 11111 | 10111 | 1100110 | 1000110 | 1001101 | 0 | 111100 | 11110110 | 111111 | 11001 |
Color Harmonies of #1F1766
Complementary color
Monochromatic Colors of #1F1766
Black with #1F1766
Text Example
Text Example
White with #1F1766
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1766; }
p { color: rgb(31,23,102); }
H1.HeaderClassName
{
color: #1F1766;
}
.AnyTagClassName
{
color: #1F1766;
}
</style>
background-color css
<style>
a { background-color: #1F1766; }
a { background-color: rgb(31,23,102); }
div.DivClassName
{
background-color: #1F1766;
}
.BgClassName
{
background-color: #1F1766;
}
</style>
border-color css
<style>
span { border-color: #1F1766; }
span { border-color: rgb(31,23,102); }
td.TdClassName
{
border-color: #1F1766;
}
.TagClassName
{
border-color: #1F1766;
}
</style>