Shades of Midnight Blue #1F166B
Tints of Midnight Blue #1F166B
RGB
CMYK
RGB Variations
Color information
#1F166B (or 0x1F166B) is known color: Midnight Blue. HEX triplet: 1F, 16 and 6B. RGB value is (31,22,107). Sum of RGB (Red+Green+Blue) = 31+22+107=160 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.38% from 160); Green value is 22 (8.98% from 255 or 13.75% from 160); Blue value is 107 (42.19% from 255 or 66.88% from 160); Max value from RGB is 107 - color contains mainly: blue. Hex color #1F166B is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F166B is #E0E994. Grayscale: #222222. Windows color (decimal): -14739861 or 7018015. OLE color: 7018015.
HSL color Cylindrical-coordinate representation of color #1F166B: hue angle of 246.35º degrees, saturation: 0.66, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #1F166B is Cyan = 0.71, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 22 | 107 | - |
| CMYK | 0.71 | 0.79 | 0 | 0.58 |
| HSL | 246.35º | 0.66% | 0.25% | - |
| HSV(B) | 246.35º | 0.79% | 0.42% | - |
| XYZ | 3.51 | 1.93 | 14.1 | - |
| YUV | 34.38 | 168.98 | 125.59 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 22 | 107 | 0.71 | 0.79 | 0 | 0.58 | 246.35 | 0.66 | 0.25 |
| Hex | 1F | 16 | 6B | 47 | 4F | 0 | 3A | F6 | 42 | 19 |
| Octal | 37 | 26 | 153 | 107 | 117 | 0 | 72 | 366 | 102 | 31 |
| Binary | 11111 | 10110 | 1101011 | 1000111 | 1001111 | 0 | 111010 | 11110110 | 1000010 | 11001 |
Color Harmonies of #1F166B
Complementary color
Monochromatic Colors of #1F166B
Black with #1F166B
Text Example
Text Example
White with #1F166B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F166B; }
p { color: rgb(31,22,107); }
H1.HeaderClassName
{
color: #1F166B;
}
.AnyTagClassName
{
color: #1F166B;
}
</style>
background-color css
<style>
a { background-color: #1F166B; }
a { background-color: rgb(31,22,107); }
div.DivClassName
{
background-color: #1F166B;
}
.BgClassName
{
background-color: #1F166B;
}
</style>
border-color css
<style>
span { border-color: #1F166B; }
span { border-color: rgb(31,22,107); }
td.TdClassName
{
border-color: #1F166B;
}
.TagClassName
{
border-color: #1F166B;
}
</style>