Shades of Midnight Blue #1F156C
Tints of Midnight Blue #1F156C
RGB
CMYK
RGB Variations
Color information
#1F156C (or 0x1F156C) is known color: Midnight Blue. HEX triplet: 1F, 15 and 6C. RGB value is (31,21,108). Sum of RGB (Red+Green+Blue) = 31+21+108=160 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.38% from 160); Green value is 21 (8.59% from 255 or 13.12% from 160); Blue value is 108 (42.58% from 255 or 67.5% from 160); Max value from RGB is 108 - color contains mainly: blue. Hex color #1F156C is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F156C is #E0EA93. Grayscale: #212121. Windows color (decimal): -14740116 or 7083295. OLE color: 7083295.
HSL color Cylindrical-coordinate representation of color #1F156C: hue angle of 246.9º degrees, saturation: 0.67, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #1F156C is Cyan = 0.71, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 21 | 108 | - |
| CMYK | 0.71 | 0.81 | 0 | 0.58 |
| HSL | 246.9º | 0.67% | 0.25% | - |
| HSV(B) | 246.9º | 0.81% | 0.42% | - |
| XYZ | 3.54 | 1.91 | 14.37 | - |
| YUV | 33.91 | 169.81 | 125.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 21 | 108 | 0.71 | 0.81 | 0 | 0.58 | 246.9 | 0.67 | 0.25 |
| Hex | 1F | 15 | 6C | 47 | 51 | 0 | 3A | F7 | 43 | 19 |
| Octal | 37 | 25 | 154 | 107 | 121 | 0 | 72 | 367 | 103 | 31 |
| Binary | 11111 | 10101 | 1101100 | 1000111 | 1010001 | 0 | 111010 | 11110111 | 1000011 | 11001 |
Color Harmonies of #1F156C
Complementary color
Monochromatic Colors of #1F156C
Black with #1F156C
Text Example
Text Example
White with #1F156C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F156C; }
p { color: rgb(31,21,108); }
H1.HeaderClassName
{
color: #1F156C;
}
.AnyTagClassName
{
color: #1F156C;
}
</style>
background-color css
<style>
a { background-color: #1F156C; }
a { background-color: rgb(31,21,108); }
div.DivClassName
{
background-color: #1F156C;
}
.BgClassName
{
background-color: #1F156C;
}
</style>
border-color css
<style>
span { border-color: #1F156C; }
span { border-color: rgb(31,21,108); }
td.TdClassName
{
border-color: #1F156C;
}
.TagClassName
{
border-color: #1F156C;
}
</style>