Shades of Midnight Blue #1F1566
Tints of Midnight Blue #1F1566
RGB
CMYK
RGB Variations
Color information
#1F1566 (or 0x1F1566) is known color: Midnight Blue. HEX triplet: 1F, 15 and 66. RGB value is (31,21,102). Sum of RGB (Red+Green+Blue) = 31+21+102=154 (20% of max value = 765). Red value is 31 (12.5% from 255 or 20.13% from 154); Green value is 21 (8.59% from 255 or 13.64% from 154); Blue value is 102 (40.23% from 255 or 66.23% from 154); Max value from RGB is 102 - color contains mainly: blue. Hex color #1F1566 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1566 is #E0EA99. Grayscale: #202020. Windows color (decimal): -14740122 or 6690079. OLE color: 6690079.
HSL color Cylindrical-coordinate representation of color #1F1566: hue angle of 247.41º degrees, saturation: 0.66, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #1F1566 is Cyan = 0.70, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 31 | 21 | 102 | - |
| CMYK | 0.70 | 0.79 | 0 | 0.6 |
| HSL | 247.41º | 0.66% | 0.24% | - |
| HSV(B) | 247.41º | 0.79% | 0.4% | - |
| XYZ | 3.23 | 1.79 | 12.74 | - |
| YUV | 33.22 | 166.81 | 126.41 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 21 | 102 | 0.70 | 0.79 | 0 | 0.6 | 247.41 | 0.66 | 0.24 |
| Hex | 1F | 15 | 66 | 46 | 4F | 0 | 3C | F7 | 42 | 18 |
| Octal | 37 | 25 | 146 | 106 | 117 | 0 | 74 | 367 | 102 | 30 |
| Binary | 11111 | 10101 | 1100110 | 1000110 | 1001111 | 0 | 111100 | 11110111 | 1000010 | 11000 |
Color Harmonies of #1F1566
Complementary color
Monochromatic Colors of #1F1566
Black with #1F1566
Text Example
Text Example
White with #1F1566
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1566; }
p { color: rgb(31,21,102); }
H1.HeaderClassName
{
color: #1F1566;
}
.AnyTagClassName
{
color: #1F1566;
}
</style>
background-color css
<style>
a { background-color: #1F1566; }
a { background-color: rgb(31,21,102); }
div.DivClassName
{
background-color: #1F1566;
}
.BgClassName
{
background-color: #1F1566;
}
</style>
border-color css
<style>
span { border-color: #1F1566; }
span { border-color: rgb(31,21,102); }
td.TdClassName
{
border-color: #1F1566;
}
.TagClassName
{
border-color: #1F1566;
}
</style>