Liquid crystalline medium comprising a dye component A) comprising one or more compounds of formula I below, and a liquid-crystalline component B) comprising one or more mesogenic compounds, in which W denotes S or Se, R 11, R 12, identically or differently, denote H, F, straight-chain or branched alkyl having 1 to 25 C atoms, in which, in addition, one or more non-adjacent CH 2 groups may each be replaced, independently of one another, by -C(R z)=C(R z)-, -C≡C-, -N(R z)-, -O-, -S-, -CO-, -CO-O-, -O-CO- or -O-CO-O- in such a way that O and/or S atoms are not linked directly to one another, and in which, in addition, one or more H atoms may be replaced by F, Cl, Br, I or CN, R z on each occurrence, identically or differently, denotes H, halogen, straight-chain, branched or cyclic alkyl having 1 to 25 C atoms, in which, in addition, one or more non-adjacent CH 2 groups may be replaced by -O-, -S-, -CO-, -CO-O-, -O-CO- or-O-CO-O- in such a way that O and/or S atoms are not linked directly to one another, and in which, in addition, one or more H atoms may be replaced by F or Cl, A 11, A 12 each, independently of one another, denote an aryl or heteroaryl group, which may be substituted by one or more radicals L, A 21, A 22 are each, independently of one another, defined like A 11 or denote a cyclic alkyl group having 3 to 10 C atoms, in which 1 to 4 CH 2 groups may be replaced by O in such a way that no two O atoms are adjacent, L on each occurrence, identically or differently, denotes OH, CH 2 OH, F, Cl, Br, I, -CN, -NO 2, SF 5, -NCO, -NCS,-OCN, -SCN, -C(=O)N(R z) 2, -C(=O)R z, -N(R z) 2, optionally substituted silyl, optionally substituted aryl having 6 to 20 C atoms, or straight-chain or branched alkyl, alkoxy, alkylcarbonyl, alkoxycarbonyl, alkylcarbonyloxy or alkoxycarbonyloxy having 1 to 25 C atoms, in which, in addition, one or more H atoms may be replaced by F or Cl, an aryl or heteroaryl group, which may be substituted by one or more radicals L, and alternatively two adjacent groups L together also denote a straight-chain or branched alkylene group having 2 to 10 C atoms, in which one, several or all H atoms may be replaced by F and in which one or more -CH 2 CH 2 - groups can be replaced by -CH=CH-, Z 11, Z 12 on each occurrence, identically or differently, denote a single bond, -CR x1 =CR x2 -, -C≡C- or -C -, Z 21, Z 22 are on each occurrence, identically or differently, defined like Z 11 or denote -O-, -S-, -CR y1 R y2 -, -CF 2 O-, -OCF 2 -, -C -O-, -O-C -, -O-C -O-, -OCH 2 -, -CH 2 O-, -SCH 2 -, -CH 2 S-, -CF 2 S-, -SCF 2 -, -(CH 2) n1 -, -CF 2 CH 2 -, -CH 2 CF 2 -, -(CF 2) n1 -, -CH=CH-COO or -OCO-CH=CH-, R x1, R x2, independently of one another, denote H, F, Cl, CN or alkyl having 1-12 C atoms, R y1, R y2 each, independently of one another, denote H or alkyl having 1-12 C atoms, r, s, independently of one another, denote 0, 1, 2 or 3, t 0, 1, 2, 3 or 4, n1 denotes 1, 2, 3 or 4. W denotes S or Se, R 11, R 12, identically or differently, denote H, F, straight-chain or branched alkyl having 1 to 25 C atoms, in which, in addition, one or more non-adjacent CH 2 groups may each be replaced, independently of one another, by -C(R z)=C(R z)-, -C≡C-, -N(R z)-, -O-, -S-, -CO-, -CO-O-, -O-CO- or -O-CO-O- in such a way that O and/or S atoms are not linked directly to one another, and in which, in addition, one or more H atoms may be replaced by F, Cl, Br, I or CN, R z on each occurrence, identically or differently, denotes H, halogen, straight-chain, branched or cyclic alkyl having 1 to 25 C atoms, in which, in addition, one or more non-adjacent CH 2 groups may be replaced by -O-, -S-, -CO-, -CO-O-, -O-CO- or-O-CO-O- in such a way that O and/or S atoms are not linked directly to one another, and in which, in addition, one or more H atoms may be replaced by F or Cl, A 11, A 12 each, independently of one another, denote an aryl or heteroaryl group, which may be substituted by one or more radicals L, A 21, A 22 are each, independently of one another, defined like A 11 or denote a cyclic alkyl group having 3 to 10 C atoms, in which 1 to 4 CH 2 groups may be replaced by O in such a way that no two O atoms are adjacent, L on each occurrence, identically or differently, denotes OH, CH 2 OH, F, Cl, Br, I, -CN, -NO 2, SF 5, -NCO, -NCS,-OCN, -SCN, -C(=O)N(R z) 2, -C(=O)R z, -N(R z) 2, optionally substituted silyl, optionally substituted aryl having 6 to 20 C atoms, or straight-chain or branched alkyl, alkoxy, alkylcarbonyl, alkoxycarbonyl, alkylcarbonyloxy or alkoxycarbonyloxy having 1 to 25 C atoms, in which, in addition, one or more H atoms may be replaced by F or Cl, an aryl or heteroaryl group, which may be substituted by one or more radicals L, and alternatively two adjacent groups L together also denote a straight-chain or branched alkylene group having 2 to 10 C atoms, in which one, several or all H atoms may be replaced by F and in which one or more -CH 2 CH 2 - groups can be replaced by -CH=CH-, Z 11, Z 12 on each occurrence, identically or differently, denote a single bond, -CR x1 =CR x2 -, -C≡C- or -C -, Z 21, Z 22 are on each occurrence, identically or differently, defined like Z 11 or denote -O-, -S-, -CR y1 R y2 -, -CF 2 O-, -OCF 2 -, -C -O-, -O-C -, -O-C -O-, -OCH 2 -, -CH 2 O-, -SCH 2 -, -CH 2 S-, -CF 2 S-, -SCF 2 -, -(CH 2) n1 -, -CF 2 CH 2 -, -CH 2 CF 2 -, -(CF 2) n1 -, -CH=CH-COO or -OCO-CH=CH-, R x1, R x2, independently of one another, denote H, F, Cl, CN or alkyl having 1-12 C atoms, R y1, R y2 each, independently of one another, denote H or alkyl having 1-12 C atoms, r, s, independently of one another, denote 0, 1, 2 or 3, t 0, 1, 2, 3 or 4, n1 denotes 1, 2, 3 or 4.