Shades of Midnight Blue #1F167B
Tints of Midnight Blue #1F167B
RGB
CMYK
RGB Variations
Color information
#1F167B (or 0x1F167B) is known color: Midnight Blue. HEX triplet: 1F, 16 and 7B. RGB value is (31,22,123). Sum of RGB (Red+Green+Blue) = 31+22+123=176 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.61% from 176); Green value is 22 (8.98% from 255 or 12.5% from 176); Blue value is 123 (48.44% from 255 or 69.89% from 176); Max value from RGB is 123 - color contains mainly: blue. Hex color #1F167B is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F167B is #E0E984. Grayscale: #232323. Windows color (decimal): -14739845 or 8066591. OLE color: 8066591.
HSL color Cylindrical-coordinate representation of color #1F167B: hue angle of 245.35º degrees, saturation: 0.7, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #1F167B is Cyan = 0.75, Magento = 0.82, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 22 | 123 | - |
| CMYK | 0.75 | 0.82 | 0 | 0.52 |
| HSL | 245.35º | 0.7% | 0.28% | - |
| HSV(B) | 245.35º | 0.82% | 0.48% | - |
| XYZ | 4.43 | 2.3 | 18.95 | - |
| YUV | 36.21 | 176.98 | 124.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 22 | 123 | 0.75 | 0.82 | 0 | 0.52 | 245.35 | 0.7 | 0.28 |
| Hex | 1F | 16 | 7B | 4B | 52 | 0 | 34 | F5 | 46 | 1C |
| Octal | 37 | 26 | 173 | 113 | 122 | 0 | 64 | 365 | 106 | 34 |
| Binary | 11111 | 10110 | 1111011 | 1001011 | 1010010 | 0 | 110100 | 11110101 | 1000110 | 11100 |
Color Harmonies of #1F167B
Complementary color
Monochromatic Colors of #1F167B
Black with #1F167B
Text Example
Text Example
White with #1F167B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F167B; }
p { color: rgb(31,22,123); }
H1.HeaderClassName
{
color: #1F167B;
}
.AnyTagClassName
{
color: #1F167B;
}
</style>
background-color css
<style>
a { background-color: #1F167B; }
a { background-color: rgb(31,22,123); }
div.DivClassName
{
background-color: #1F167B;
}
.BgClassName
{
background-color: #1F167B;
}
</style>
border-color css
<style>
span { border-color: #1F167B; }
span { border-color: rgb(31,22,123); }
td.TdClassName
{
border-color: #1F167B;
}
.TagClassName
{
border-color: #1F167B;
}
</style>