Shades of Midnight Blue #1F156B
Tints of Midnight Blue #1F156B
RGB
CMYK
RGB Variations
Color information
#1F156B (or 0x1F156B) is known color: Midnight Blue. HEX triplet: 1F, 15 and 6B. RGB value is (31,21,107). Sum of RGB (Red+Green+Blue) = 31+21+107=159 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.50% from 159); Green value is 21 (8.59% from 255 or 13.21% from 159); Blue value is 107 (42.19% from 255 or 67.30% from 159); Max value from RGB is 107 - color contains mainly: blue. Hex color #1F156B is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F156B is #E0EA94. Grayscale: #212121. Windows color (decimal): -14740117 or 7017759. OLE color: 7017759.
HSL color Cylindrical-coordinate representation of color #1F156B: hue angle of 246.98º degrees, saturation: 0.67, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #1F156B is Cyan = 0.71, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 21 | 107 | - |
| CMYK | 0.71 | 0.80 | 0 | 0.58 |
| HSL | 246.98º | 0.67% | 0.25% | - |
| HSV(B) | 246.98º | 0.8% | 0.42% | - |
| XYZ | 3.49 | 1.89 | 14.09 | - |
| YUV | 33.79 | 169.31 | 126.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 21 | 107 | 0.71 | 0.80 | 0 | 0.58 | 246.98 | 0.67 | 0.25 |
| Hex | 1F | 15 | 6B | 47 | 50 | 0 | 3A | F7 | 43 | 19 |
| Octal | 37 | 25 | 153 | 107 | 120 | 0 | 72 | 367 | 103 | 31 |
| Binary | 11111 | 10101 | 1101011 | 1000111 | 1010000 | 0 | 111010 | 11110111 | 1000011 | 11001 |
Color Harmonies of #1F156B
Complementary color
Monochromatic Colors of #1F156B
Black with #1F156B
Text Example
Text Example
White with #1F156B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F156B; }
p { color: rgb(31,21,107); }
H1.HeaderClassName
{
color: #1F156B;
}
.AnyTagClassName
{
color: #1F156B;
}
</style>
background-color css
<style>
a { background-color: #1F156B; }
a { background-color: rgb(31,21,107); }
div.DivClassName
{
background-color: #1F156B;
}
.BgClassName
{
background-color: #1F156B;
}
</style>
border-color css
<style>
span { border-color: #1F156B; }
span { border-color: rgb(31,21,107); }
td.TdClassName
{
border-color: #1F156B;
}
.TagClassName
{
border-color: #1F156B;
}
</style>