A liquid crystal medium comprising - a polymerizable component A) comprising polymerizable compounds, at least a first one of which is a compound of formula I, at least a second one of which is a compound of formula II, and at least a third one is a polymerizable self-alignment additive for vertical alignment of formula III and - a liquid-crystalline LC component B) comprising one or more mesogenic or liquid-crystalline compounds, wherein the formulae are defined as: wherein the individual radicals, independently of each other and on each occurrence identically or differently, have the following meanings P a polymerizable group, Sp a spacer group or a single bond, R L -CH 3, -C 2 H 5 or -CH 2 CH 2 CH 3, r independently is 0, 1 or 2, s is 0 or 1, and L 1, L 2, L 3 independently are F, Cl or linear, branched or cyclic alkyl having 1 to 5 C atoms, wherein one or more non-adjacent CH 2 -groups are optionally replaced by -O-, -S-, -CO-, -CO-O-, -O-CO- or -O-CO-O- in such a manner that O- and/or S-atoms are not directly connected with each other, and wherein one or more H atoms are each optionally replaced by F or Cl, wherein the individual radicals, independently of each other and on each occurrence identically or differently, have the following meanings P a polymerizable group, Sp a spacer group or a single bond, r independently is 0, 1 or 2, s is 0 or 1, and L 1, L 2 independently are F, Cl or linear, branched or cyclic alkyl having 1 to 5 C atoms, wherein one or more non-adjacent CH 2 -groups are optionally replaced by -O-, -S-, -CO-, -CO-O-, -O-CO- or -O-CO-O- in such a manner that O- and/or S-atoms are not directly connected with each other, and wherein one or more H atoms are each optionally replaced by F or Cl, MES-R a III in which MES is a calamitic mesogenic group comprising two or more rings, which are connected directly or indirectly to each other or which are condensed to each other, which rings are optionally substituted and which is optionally substituted additionally by one or more polymerizable groups, which are connected to MES directly or via a spacer, and R a is a polar anchor group, residing in a terminal position of the calamitic mesogenic group MES, which group R a comprises at least one carbon atom and at least one group selected from -OH, -SH, -COOH, -CHO or primary or secondary amine function and which is optionally substituted by one or two polymerizable groups, which are connected to R a directly or via a spacer, where at least one of MES or R a is substituted by at least one polymerizable group directly or via a spacer. - a polymerizable component A) comprising polymerizable compounds, at least a first one of which is a compound of formula I, at least a second one of which is a compound of formula II, and at least a third one is a polymerizable self-alignment additive for vertical alignment of formula III and at least a first one of which is a compound of formula I, at least a second one of which is a compound of formula II, and at least a third one is a polymerizable self-alignment additive for vertical alignment of formula III - a liquid-crystalline LC component B) comprising one or more mesogenic or liquid-crystalline compounds, P a polymerizable group, Sp a spacer group or a single bond, R L -CH 3, -C 2 H 5 or -CH 2 CH 2 CH 3, r independently is 0, 1 or 2, s is 0 or 1, and L 1, L 2, L 3 independently are F, Cl or linear, branched or cyclic alkyl having 1 to 5 C atoms, wherein one or more non-adjacent CH 2 -groups are optionally replaced by -O-, -S-, -CO-, -CO-O-, -O-CO- or -O-CO-O- in such a manner that O- and/or S-atoms are not directly connected with each other, and wherein one or more H atoms are each optionally replaced by F or Cl, P a polymerizable group, Sp a spacer group or a single bond, r independently is 0, 1 or 2, s is 0 or 1, and L 1, L 2 independently are F, Cl or linear, branched or cyclic alkyl having 1 to 5 C atoms, wherein one or more non-adjacent CH 2 -groups are optionally replaced by -O-, -S-, -CO-, -CO-O-, -O-CO- or -O-CO-O- in such a manner that O- and/or S-atoms are not directly connected with each other, and wherein one or more H atoms are each optionally replaced by F or Cl, MES is a calamitic mesogenic group comprising two or more rings, which are connected directly or indirectly to each other or which are condensed to each other, which rings are optionally substituted and which is optionally substituted additionally by one or more polymerizable groups, which are connected to MES directly or via a spacer, and R a is a polar anchor group, residing in a terminal position of the calamitic mesogenic group MES, which group R a comprises at least one carbon atom and at least one group selected from -OH, -SH, -COOH, -CHO or primary or secondary amine function and which is optionally substituted by one or two polymerizable groups, which are connected to R a directly or via a spacer,